summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-21 17:20:55 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-21 17:20:55 +0100
commitb7522a2f0ca6c970df37241c9e70024465d8596b (patch)
tree67c9867f97c1339af9da874ff290a55a58bc9b21 /src/os_win32.c
parent65edff8f51e9e54f85407bdb9156ae8e3e1b76a1 (diff)
downloadvim-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/os_win32.c')
-rw-r--r--src/os_win32.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index ae1f0d8af..631f88e49 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -1470,10 +1470,6 @@ WaitForChar(long msec)
serverProcessPendingMessages();
#endif
-#ifdef FEAT_CHANNEL
- channel_handle_events();
-#endif
-
if (0
#ifdef FEAT_MOUSE
|| g_nMouseClick != -1