diff src/os_win32.c @ 8172:db5c79d93eee v7.4.1379

commit https://github.com/vim/vim/commit/b7522a2f0ca6c970df37241c9e70024465d8596b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 21 17:20:55 2016 +0100 patch 7.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)
author Christian Brabandt <cb@256bit.org>
date Sun, 21 Feb 2016 17:30:05 +0100
parents 39532ee7dd43
children 477c1d855698
line wrap: on
line diff
--- 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