mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
Fix key_codes example
This commit is contained in:
parent
f0b3287d73
commit
a8326aef28
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user