comparison src/gui_w32.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 aa845d10c6fb
children 4f0677020a43
comparison
equal deleted inserted replaced
8171:944260338639 8172:db5c79d93eee
2244 s_need_activate = FALSE; 2244 s_need_activate = FALSE;
2245 } 2245 }
2246 2246
2247 #ifdef MESSAGE_QUEUE 2247 #ifdef MESSAGE_QUEUE
2248 parse_queued_messages(); 2248 parse_queued_messages();
2249 #endif
2250
2251 #ifdef FEAT_CHANNEL
2252 channel_handle_events();
2253 #endif 2249 #endif
2254 2250
2255 /* 2251 /*
2256 * Don't use gui_mch_update() because then we will spin-lock until a 2252 * Don't use gui_mch_update() because then we will spin-lock until a
2257 * char arrives, instead we use GetMessage() to hang until an 2253 * char arrives, instead we use GetMessage() to hang until an