mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +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.
|
// This is a handy way to check the input received by cursive.
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let mut siv = Cursive::new();
|
let mut siv = Cursive::default();
|
||||||
siv.add_layer(
|
siv.add_layer(
|
||||||
KeyCodeView::new(10)
|
KeyCodeView::new(10)
|
||||||
.full_width()
|
.full_width()
|
||||||
|
Loading…
Reference in New Issue
Block a user