diff options
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 4426a93..06fcd0f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,12 +95,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 => (), } |