diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index c4bca2a9c..a22a6a104 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -2205,7 +2205,7 @@ static int readit(void) // read (maybe cursor) key from stdin int c; fflush_all(); - c = read_key(STDIN_FILENO, readbuffer); + c = read_key(STDIN_FILENO, readbuffer, /*timeout off:*/ -2); if (c == -1) { // EOF/error go_bottom_and_clear_to_eol(); cookmode(); // terminal to "cooked" |