summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-27 17:58:18 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-27 17:58:18 +0100
commit9e18236f26e2c3cfb768e67f6bc3dc1dd1a717f0 (patch)
treeb2993b3279283ca987998e9b6b6c3426d40a0cda /editor/update.cpp
parent883545889d94fea794ff2ba989d4e93be50b9a78 (diff)
editor: add escape keybinding
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 115e58b9..afc3b6cc 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -134,6 +134,8 @@ void app::do_key(key k, int mods)
return do_quickload();
case key_new_file:
return do_new_file();
+ case key_escape:
+ return do_escape();
case key_quit:
return M->quit(0);
}