aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorLuis Ferro <luis.ferro@eggplant.io>2019-11-12 11:32:24 +0100
committerLuis Ferro <luis.ferro@eggplant.io>2019-11-12 11:32:24 +0100
commit1c2ffcff2371182c83ff411c27ce742a4b9432a8 (patch)
treed5f31752628329789541153a985cb50f944488c0 /src/main.rs
parente18890ab0033583e67d0a81d185e93d4fbcb01f6 (diff)
The actual fix.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index df82f42..49e8a8c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -98,12 +98,12 @@ fn main() {
// get input and execute it
match window.getch() {
- Some(Input::Character('h')) => { window.addstr("DEL: quit\n"); },
+ Some(Input::Character('h')) => { window.addstr("q: quit\n"); },
// Some(Input::KeyDown) => { window.addstr("down\n"); },
// Some(Input::KeyUp) => { window.addch('b'); },
// Some(Input::KeyLeft) => { window.addch('c'); },
// Some(Input::KeyRight) => { window.addch('d'); },
- Some(Input::KeyDC) => break,
+ Some(Input::Character('q')) => break,
Some(_) => (),
None => (),
}