]> granicus.if.org Git - vim/commitdiff
patch 7.4.882 v7.4.882
authorBram Moolenaar <Bram@vim.org>
Fri, 25 Sep 2015 17:12:22 +0000 (19:12 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 25 Sep 2015 17:12:22 +0000 (19:12 +0200)
Problem:    When leaving the command line window with CTRL-C while a
            completion menu is displayed the menu isn't removed.
Solution:   Force a screen update. (Hirohito Higashi)

src/edit.c
src/version.c

index db4a079e40b632c4a541e79c2821213f179bddb2..bd5c57e1a958fcbd6e54b2b83719d1a868954766 100644 (file)
@@ -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'.
index 079d99d680e7ac373be0b281eeca28a66da34f33..586ce19c98768f12d152be4f469ba893eea9b278 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    882,
 /**/
     881,
 /**/