aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index d43a8f1..c11ad14 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -17,6 +17,16 @@ fn main() {
term.printline_with_cell(0, 2, "->", knockout_cell);
term.printline(5, 2, "test");
+ let options = vec![
+ "e: booya@kacha.ch",
+ "u: booyakacha",
+ "p: secret"
+ ];
+
+ for (i, s) in options.iter().enumerate() {
+ term.printline(5, i + 3, s)
+ }
+
term.set_cursor(2, 2).unwrap();
let evt = term.get_event(Duration::from_millis(100)).unwrap();