comparison src/ex_getln.c @ 1472:32f48534fa0f v7.1.187

updated for version 7.1-187
author vimboss
date Wed, 02 Jan 2008 20:55:27 +0000
parents a73a117542b8
children fd68db1a72b5
comparison
equal deleted inserted replaced
1471:e980e93d2ac2 1472:32f48534fa0f
333 dont_scroll = FALSE; /* allow scrolling here */ 333 dont_scroll = FALSE; /* allow scrolling here */
334 #endif 334 #endif
335 quit_more = FALSE; /* reset after CTRL-D which had a more-prompt */ 335 quit_more = FALSE; /* reset after CTRL-D which had a more-prompt */
336 336
337 cursorcmd(); /* set the cursor on the right spot */ 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 if (KeyTyped) 346 if (KeyTyped)
340 { 347 {
341 some_key_typed = TRUE; 348 some_key_typed = TRUE;
342 #ifdef FEAT_RIGHTLEFT 349 #ifdef FEAT_RIGHTLEFT
343 if (cmd_hkmap) 350 if (cmd_hkmap)
1207 set_cmdspos_cursor(); 1214 set_cmdspos_cursor();
1208 #endif 1215 #endif
1209 goto cmdline_not_changed; 1216 goto cmdline_not_changed;
1210 1217
1211 case K_IGNORE: 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 #ifdef FEAT_GUI_W32 1222 #ifdef FEAT_GUI_W32
1215 /* On Win32 ignore <M-F4>, we get it when closing the window was 1223 /* On Win32 ignore <M-F4>, we get it when closing the window was
1216 * cancelled. */ 1224 * cancelled. */
1217 case K_F4: 1225 case K_F4: