2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-05 00:00:58 +00:00

esc also quits now

This commit is contained in:
dvkt 2019-12-24 00:03:22 -08:00
parent a612e9564a
commit 4b9d84dddc
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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
}