Mercurial > vim
comparison src/os_win32.c @ 609:ba54311bc43e
updated for version 7.0173
author | vimboss |
---|---|
date | Sun, 18 Dec 2005 22:02:33 +0000 |
parents | a5fcf36ef512 |
children | f0a9ef4db025 |
comparison
equal
deleted
inserted
replaced
608:def07088c90e | 609:ba54311bc43e |
---|---|
1381 * to be triggered. | 1381 * to be triggered. |
1382 */ | 1382 */ |
1383 if (!WaitForChar(p_ut)) | 1383 if (!WaitForChar(p_ut)) |
1384 { | 1384 { |
1385 #ifdef FEAT_AUTOCMD | 1385 #ifdef FEAT_AUTOCMD |
1386 if (!did_cursorhold && has_cursorhold() | 1386 if (trigger_cursorhold() && maxlen >= 3) |
1387 && get_real_state() == NORMAL_BUSY && maxlen >= 3) | |
1388 { | 1387 { |
1389 buf[0] = K_SPECIAL; | 1388 buf[0] = K_SPECIAL; |
1390 buf[1] = KS_EXTRA; | 1389 buf[1] = KS_EXTRA; |
1391 buf[2] = (int)KE_CURSORHOLD; | 1390 buf[2] = (int)KE_CURSORHOLD; |
1392 return 3; | 1391 return 3; |