Fix key_codes example

This commit is contained in:
Alexandre Bury 2018-04-16 22:54:54 -07:00
parent f0b3287d73
commit a8326aef28

View File

@ -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()