summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index d378cd16f..43c8a8b63 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -4564,7 +4564,7 @@ ins_esc(
*/
if (reg_recording != 0 || restart_edit != NUL)
showmode();
- else if (p_smd && !skip_showmode())
+ else if (p_smd && (got_int || !skip_showmode()))
msg("");
return TRUE; /* exit Insert mode */