diff options
Diffstat (limited to 'src/nvim/os/input.c')
-rw-r--r-- | src/nvim/os/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c index 4c6e9ee4d3..5b231f205b 100644 --- a/src/nvim/os/input.c +++ b/src/nvim/os/input.c @@ -30,7 +30,7 @@ typedef enum { kInputNone, kInputAvail, - kInputEof + kInputEof, } InbufPollResult; static Stream read_stream = { .closed = true }; // Input before UI starts. @@ -401,7 +401,7 @@ static InbufPollResult inbuf_poll(int ms, MultiQueue *events) prof_inchar_enter(); } - if ((ms == - 1 || ms > 0) && events != main_loop.events && !input_eof) { + if ((ms == -1 || ms > 0) && events != main_loop.events && !input_eof) { // The pending input provoked a blocking wait. Do special events now. #6247 blocking = true; multiqueue_process_events(ch_before_blocking_events); |