forked from aniani/vim
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)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user