diff options
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 91bc87e88..08df912ce 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -1383,8 +1383,7 @@ mch_inchar( if (!WaitForChar(p_ut)) { #ifdef FEAT_AUTOCMD - if (!did_cursorhold && has_cursorhold() - && get_real_state() == NORMAL_BUSY && maxlen >= 3) + if (trigger_cursorhold() && maxlen >= 3) { buf[0] = K_SPECIAL; buf[1] = KS_EXTRA; |