]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.1-187 v7.1.187
authorBram Moolenaar <Bram@vim.org>
Wed, 2 Jan 2008 20:55:27 +0000 (20:55 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 2 Jan 2008 20:55:27 +0000 (20:55 +0000)
src/ex_getln.c
src/version.c

index 48ee8312cad0a0d7604ff8e04f8d3113a2ce5965..7d543f2493f374b3c99e11f4738e68440bd21811 100644 (file)
@@ -335,7 +335,14 @@ getcmdline(firstc, count, indent)
        quit_more = FALSE;      /* reset after CTRL-D which had a more-prompt */
 
        cursorcmd();            /* set the cursor on the right spot */
-       c = safe_vgetc();
+
+       /* Get a character.  Ignore K_IGNORE, it should not do anything, such
+        * as stop completion. */
+       do
+       {
+           c = safe_vgetc();
+       } while (c == K_IGNORE);
+
        if (KeyTyped)
        {
            some_key_typed = TRUE;
@@ -1209,7 +1216,8 @@ getcmdline(firstc, count, indent)
                goto cmdline_not_changed;
 
        case K_IGNORE:
-               goto cmdline_not_changed;       /* Ignore mouse */
+               /* Ignore mouse event or ex_window() result. */
+               goto cmdline_not_changed;
 
 #ifdef FEAT_GUI_W32
            /* On Win32 ignore <M-F4>, we get it when closing the window was
index 587e05dd3f06f2dfa21e944ea7c66cbac04f25ac..92cd49b7ab9c5d65da7b6ec852f172525e28c2e2 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    187,
 /**/
     186,
 /**/