aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Tham <[email protected]>2018-08-08 07:27:14 +0100
committerIvan Tham <[email protected]>2018-08-08 07:27:17 +0100
commit89b811bbadca81a386080f294c5e9cd811b3eac0 (patch)
treed6b9c947f682a56ff40a257ef312de9130136356 /src
parent970bda5dd25060fea65da97c3bcbce11e48fc71a (diff)
Add instructions in default layer
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
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
44Hit q to quit
45Hit t to pop layer",
46 ));
47
42 main.run(); 48 main.run();
43} 49}
44 50