updated for version 7.0063
diff --git a/src/ui.c b/src/ui.c
index 0941a37..bb41f36 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -153,8 +153,9 @@
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)