summaryrefslogtreecommitdiff
path: root/src/gui_w32.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/gui_w32.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/gui_w32.c')
-rw-r--r--src/gui_w32.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index f3da79425..3a6469149 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -2248,10 +2248,6 @@ gui_mch_wait_for_chars(int wtime)
parse_queued_messages();
#endif
-#ifdef FEAT_CHANNEL
- channel_handle_events();
-#endif
-
/*
* Don't use gui_mch_update() because then we will spin-lock until a
* char arrives, instead we use GetMessage() to hang until an