diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-21 17:20:55 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-21 17:20:55 +0100 |
commit | b7522a2f0ca6c970df37241c9e70024465d8596b (patch) | |
tree | 67c9867f97c1339af9da874ff290a55a58bc9b21 /src/misc2.c | |
parent | 65edff8f51e9e54f85407bdb9156ae8e3e1b76a1 (diff) | |
download | vim-git-b7522a2f0ca6c970df37241c9e70024465d8596b.tar.gz |
patch 7.4.1379v7.4.1379
Problem: Channel test fails on Win32 console.
Solution: Don't sleep when timeout is zero. Call channel_wait() before
channel_read(). Channels are not polled during ":sleep". (Yukihiro
Nakadaira)
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c index 9cfb11817..932d67e78 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -6239,6 +6239,11 @@ has_non_ascii(char_u *s) void parse_queued_messages(void) { + /* For Win32 mch_breakcheck() does not check for input, do it here. */ +# if defined(WIN32) && defined(FEAT_CHANNEL) + channel_handle_events(); +# endif + # ifdef FEAT_NETBEANS_INTG /* Process the queued netbeans messages. */ netbeans_parse_messages(); |