summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 0ec5059..eb2d0bf 100644
--- a/command.c
+++ b/command.c
@@ -186,7 +186,7 @@ void command_execute(Ted *ted, Command c, i64 argument) {
// dismiss error box
*ted->error_shown = '\0';
} else if (ted->menu) {
- menu_close(ted, true);
+ menu_escape(ted);
} else if (buffer) {
buffer_disable_selection(buffer);
}