esc also quits now

pull/6/head
dvkt 5 years ago
parent a612e9564a
commit 4b9d84dddc

@ -83,7 +83,7 @@ ictrl-s save bookmark
i
ictrl-q quit phetch
ictrl-c cancel / quit
iescape cancel
iescape cancel / quit
i
";

@ -289,7 +289,7 @@ impl UI {
};
match action {
Action::Keypress(Key::Ctrl('c')) => {
Action::Keypress(Key::Ctrl('c')) | Action::Keypress(Key::Esc) => {
if !cleared {
self.running = false
}

Loading…
Cancel
Save