From 9e18236f26e2c3cfb768e67f6bc3dc1dd1a717f0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Feb 2023 17:58:18 +0100 Subject: editor: add escape keybinding --- editor/update.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/update.cpp') 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); } -- cgit v1.2.3