diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-18 22:02:33 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-18 22:02:33 +0000 |
commit | d35f9711d4558f8784e65531a152d38d1dabbe72 (patch) | |
tree | b87fb3537c2ac512ca97a6e342c1cb9762e40892 /src/os_unix.c | |
parent | da1b1a735765071185281ce86a379ea0d078cb17 (diff) | |
download | vim-d35f9711d4558f8784e65531a152d38d1dabbe72.zip |
updated for version 7.0173
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 6165e9f6a..73693b632 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -342,11 +342,8 @@ mch_inchar(buf, maxlen, wtime, tb_change_cnt) if (WaitForChar(p_ut) == 0) { #ifdef FEAT_AUTOCMD - if (!did_cursorhold - && has_cursorhold() - && get_real_state() == NORMAL_BUSY - && maxlen >= 3 - && !typebuf_changed(tb_change_cnt)) + if (trigger_cursorhold() && maxlen >= 3 + && !typebuf_changed(tb_change_cnt)) { buf[0] = K_SPECIAL; buf[1] = KS_EXTRA; |