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:
5
src/ui.c
5
src/ui.c
@@ -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)
|
||||
|
Reference in New Issue
Block a user