changeset 7141:4e8f07fc7ca3 v7.4.882

commit https://github.com/vim/vim/commit/5f1fea28f5bc573e2430773c49e95ae1f9cc2a25 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 25 19:12:22 2015 +0200 patch 7.4.882 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)
author Christian Brabandt <cb@256bit.org>
date Fri, 25 Sep 2015 19:15:03 +0200
parents 34ab88011631
children bfb6dbcb11a0
files src/edit.c src/version.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'.
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    882,
+/**/
     881,
 /**/
     880,