0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0063

This commit is contained in:
Bram Moolenaar
2005-03-22 23:06:55 +00:00
parent 6bb683663a
commit 43b604cddc
5 changed files with 40 additions and 27 deletions

View File

@@ -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)