Mercurial > vim
comparison src/misc2.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 | 563c923b1584 |
children | f2286ff0c102 |
comparison
equal
deleted
inserted
replaced
8171:944260338639 | 8172:db5c79d93eee |
---|---|
6237 * it is safe to do so. | 6237 * it is safe to do so. |
6238 */ | 6238 */ |
6239 void | 6239 void |
6240 parse_queued_messages(void) | 6240 parse_queued_messages(void) |
6241 { | 6241 { |
6242 /* For Win32 mch_breakcheck() does not check for input, do it here. */ | |
6243 # if defined(WIN32) && defined(FEAT_CHANNEL) | |
6244 channel_handle_events(); | |
6245 # endif | |
6246 | |
6242 # ifdef FEAT_NETBEANS_INTG | 6247 # ifdef FEAT_NETBEANS_INTG |
6243 /* Process the queued netbeans messages. */ | 6248 /* Process the queued netbeans messages. */ |
6244 netbeans_parse_messages(); | 6249 netbeans_parse_messages(); |
6245 # endif | 6250 # endif |
6246 # ifdef FEAT_CHANNEL | 6251 # ifdef FEAT_CHANNEL |