Mercurial > vim
comparison src/ui.c @ 228:d97518d6b325 v7.0063
updated for version 7.0063
author | vimboss |
---|---|
date | Tue, 22 Mar 2005 23:06:55 +0000 |
parents | 8c60f65311fa |
children | 73354c21f1e4 |
comparison
equal
deleted
inserted
replaced
227:ef254e0f2365 | 228:d97518d6b325 |
---|---|
151 if (no_console_input()) | 151 if (no_console_input()) |
152 { | 152 { |
153 static int count = 0; | 153 static int count = 0; |
154 | 154 |
155 # ifndef NO_CONSOLE | 155 # ifndef NO_CONSOLE |
156 retval = mch_inchar(buf, maxlen, 10L, tb_change_cnt); | 156 retval = mch_inchar(buf, maxlen, (wtime >= 0 && wtime < 10) |
157 if (retval > 0 || typebuf_changed(tb_change_cnt)) | 157 ? 10L : wtime, tb_change_cnt); |
158 if (retval > 0 || typebuf_changed(tb_change_cnt) || wtime >= 0) | |
158 goto theend; | 159 goto theend; |
159 # endif | 160 # endif |
160 if (wtime == -1 && ++count == 1000) | 161 if (wtime == -1 && ++count == 1000) |
161 read_error_exit(); | 162 read_error_exit(); |
162 buf[0] = CAR; | 163 buf[0] = CAR; |