0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1-187

This commit is contained in:
Bram Moolenaar
2008-01-02 20:55:27 +00:00
parent a0174af16f
commit 30405d35ef
2 changed files with 12 additions and 2 deletions

View 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