mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Use full-width window for key_codes example
This commit is contained in:
parent
c64e7dd7b3
commit
976728fd25
@ -7,7 +7,7 @@ use cursive::event::{Event, EventResult};
|
|||||||
fn main() {
|
fn main() {
|
||||||
let mut siv = Cursive::new();
|
let mut siv = Cursive::new();
|
||||||
|
|
||||||
siv.add_layer(KeyCodeView::new(10).fixed_size((70, 10)));
|
siv.add_layer(KeyCodeView::new(10).full_width().fixed_height(10));
|
||||||
|
|
||||||
siv.run();
|
siv.run();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user