summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c
index db4a079e4..bd5c57e1a 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3903,6 +3903,12 @@ ins_compl_prep(c)
showmode();
}
+#ifdef FEAT_CMDWIN
+ if (c == Ctrl_C && cmdwin_type != 0)
+ /* Avoid the popup menu remains displayed when leaving the
+ * command line window. */
+ update_screen(0);
+#endif
#ifdef FEAT_CINDENT
/*
* Indent now if a key was typed that is in 'cinkeys'.