summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-27 16:51:27 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-27 16:51:27 -0500
commitf02fa3b6e1f6c3b1c1325b999f101b5ca6e02558 (patch)
tree19372b99cef17f6312454688d5e115c10aff3ac9 /command.c
parent710ea4ef8ca812aa4f0334f93c25fd9995a8e364 (diff)
started warn on overwrite
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);
}