diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-01-04 11:14:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 11:14:07 +0100 |
commit | 5fcc247c6ec0eaf8a631246b1cde8f55cc287a95 (patch) | |
tree | 86e50148c6c5b1e83bf8a10fe547b7b14d6f6d24 /src | |
parent | a1ed941a7881122fda2fd48e71e890ed55e4d08e (diff) | |
parent | 4cdc8b1efdc7a67d24c7193ef67839924eb7d5c0 (diff) | |
download | rneovim-5fcc247c6ec0eaf8a631246b1cde8f55cc287a95.tar.gz rneovim-5fcc247c6ec0eaf8a631246b1cde8f55cc287a95.tar.bz2 rneovim-5fcc247c6ec0eaf8a631246b1cde8f55cc287a95.zip |
Merge pull request #11906 from bfredl/moreblock
consider "-- more --" state to be blocking
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/os/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c index b7878d9da8..9d6518841a 100644 --- a/src/nvim/os/input.c +++ b/src/nvim/os/input.c @@ -393,7 +393,7 @@ static InbufPollResult inbuf_poll(int ms, MultiQueue *events) prof_inchar_enter(); } - if ((ms == - 1 || ms > 0) && events == NULL && !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); |