Mirror of the Vim source from https://github.com/vim/vim
Révision | 32f48534fa0fa9b8e6833850fcbd77cd002ce8e0 (tree) |
---|---|
l'heure | 2008-01-03 05:55:27 |
Auteur | vimboss |
Commiter | vimboss |
updated for version 7.1-187
@@ -335,7 +335,14 @@ | ||
335 | 335 | quit_more = FALSE; /* reset after CTRL-D which had a more-prompt */ |
336 | 336 | |
337 | 337 | cursorcmd(); /* set the cursor on the right spot */ |
338 | - c = safe_vgetc(); | |
338 | + | |
339 | + /* Get a character. Ignore K_IGNORE, it should not do anything, such | |
340 | + * as stop completion. */ | |
341 | + do | |
342 | + { | |
343 | + c = safe_vgetc(); | |
344 | + } while (c == K_IGNORE); | |
345 | + | |
339 | 346 | if (KeyTyped) |
340 | 347 | { |
341 | 348 | some_key_typed = TRUE; |
@@ -1209,7 +1216,8 @@ | ||
1209 | 1216 | goto cmdline_not_changed; |
1210 | 1217 | |
1211 | 1218 | case K_IGNORE: |
1212 | - goto cmdline_not_changed; /* Ignore mouse */ | |
1219 | + /* Ignore mouse event or ex_window() result. */ | |
1220 | + goto cmdline_not_changed; | |
1213 | 1221 | |
1214 | 1222 | #ifdef FEAT_GUI_W32 |
1215 | 1223 | /* On Win32 ignore <M-F4>, we get it when closing the window was |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 187, | |
671 | +/**/ | |
670 | 672 | 186, |
671 | 673 | /**/ |
672 | 674 | 185, |