comparison src/os_unix.c @ 609:ba54311bc43e

updated for version 7.0173
author vimboss
date Sun, 18 Dec 2005 22:02:33 +0000
parents 111509d2767a
children efb7557aea10
comparison
equal deleted inserted replaced
608:def07088c90e 609:ba54311bc43e
340 * Also done when interrupted by SIGWINCH. 340 * Also done when interrupted by SIGWINCH.
341 */ 341 */
342 if (WaitForChar(p_ut) == 0) 342 if (WaitForChar(p_ut) == 0)
343 { 343 {
344 #ifdef FEAT_AUTOCMD 344 #ifdef FEAT_AUTOCMD
345 if (!did_cursorhold 345 if (trigger_cursorhold() && maxlen >= 3
346 && has_cursorhold() 346 && !typebuf_changed(tb_change_cnt))
347 && get_real_state() == NORMAL_BUSY
348 && maxlen >= 3
349 && !typebuf_changed(tb_change_cnt))
350 { 347 {
351 buf[0] = K_SPECIAL; 348 buf[0] = K_SPECIAL;
352 buf[1] = KS_EXTRA; 349 buf[1] = KS_EXTRA;
353 buf[2] = (int)KE_CURSORHOLD; 350 buf[2] = (int)KE_CURSORHOLD;
354 return 3; 351 return 3;