comparison src/os_amiga.c @ 610:cd3689efd90a v7.0173

updated for version 7.0173
author vimboss
date Sun, 18 Dec 2005 22:10:00 +0000
parents f713fc55bf7b
children 8ae24f338cab
comparison
equal deleted inserted replaced
609:ba54311bc43e 610:cd3689efd90a
137 * to be triggered. 137 * to be triggered.
138 */ 138 */
139 if (WaitForChar(raw_in, p_ut * 1000L) == 0) 139 if (WaitForChar(raw_in, p_ut * 1000L) == 0)
140 { 140 {
141 #ifdef FEAT_AUTOCMD 141 #ifdef FEAT_AUTOCMD
142 if (!did_cursorhold && has_cursorhold() 142 if (trigger_cursorhold() && maxlen >= 3)
143 && get_real_state() == NORMAL_BUSY && maxlen >= 3)
144 { 143 {
145 buf[0] = K_SPECIAL; 144 buf[0] = K_SPECIAL;
146 buf[1] = KS_EXTRA; 145 buf[1] = KS_EXTRA;
147 buf[2] = (int)KE_CURSORHOLD; 146 buf[2] = (int)KE_CURSORHOLD;
148 return 3; 147 return 3;