diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-03-22 23:06:55 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-03-22 23:06:55 +0000 |
commit | 43b604cddcd655225cde7696a54b429746cb8876 (patch) | |
tree | 1766d7f34511db87e8c3569d6b7408d6b48d9be2 /src/ui.c | |
parent | 6bb683663ad7ae9c303284c335a731a13233c6c2 (diff) | |
download | vim-43b604cddcd655225cde7696a54b429746cb8876.zip |
updated for version 7.0063
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -153,8 +153,9 @@ ui_inchar(buf, maxlen, wtime, tb_change_cnt) static int count = 0; # ifndef NO_CONSOLE - retval = mch_inchar(buf, maxlen, 10L, tb_change_cnt); - if (retval > 0 || typebuf_changed(tb_change_cnt)) + retval = mch_inchar(buf, maxlen, (wtime >= 0 && wtime < 10) + ? 10L : wtime, tb_change_cnt); + if (retval > 0 || typebuf_changed(tb_change_cnt) || wtime >= 0) goto theend; # endif if (wtime == -1 && ++count == 1000) |