From a8326aef288b2d3348457f455c8629c257b1c4ea Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Mon, 16 Apr 2018 22:54:54 -0700 Subject: [PATCH] Fix key_codes example --- examples/key_codes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/key_codes.rs b/examples/key_codes.rs index f97ba70..e54b41d 100644 --- a/examples/key_codes.rs +++ b/examples/key_codes.rs @@ -8,7 +8,7 @@ use cursive::{Cursive, Printer}; // This is a handy way to check the input received by cursive. fn main() { - let mut siv = Cursive::new(); + let mut siv = Cursive::default(); siv.add_layer( KeyCodeView::new(10) .full_width()