diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 47efe6f..90eed78 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -39,6 +39,12 @@ fn main() { | |||
39 | main.add_global_callback('q', |s| s.quit()); | 39 | main.add_global_callback('q', |s| s.quit()); |
40 | main.add_global_callback('s', |s| search(s)); | 40 | main.add_global_callback('s', |s| search(s)); |
41 | 41 | ||
42 | main.add_layer(TextView::new( | ||
43 | "Hit s to search | ||
44 | Hit q to quit | ||
45 | Hit t to pop layer", | ||
46 | )); | ||
47 | |||
42 | main.run(); | 48 | main.run(); |
43 | } | 49 | } |
44 | 50 | ||