Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
8171:944260338639 | 8172:db5c79d93eee |
---|---|
1466 #ifdef FEAT_MZSCHEME | 1466 #ifdef FEAT_MZSCHEME |
1467 mzvim_check_threads(); | 1467 mzvim_check_threads(); |
1468 #endif | 1468 #endif |
1469 #ifdef FEAT_CLIENTSERVER | 1469 #ifdef FEAT_CLIENTSERVER |
1470 serverProcessPendingMessages(); | 1470 serverProcessPendingMessages(); |
1471 #endif | |
1472 | |
1473 #ifdef FEAT_CHANNEL | |
1474 channel_handle_events(); | |
1475 #endif | 1471 #endif |
1476 | 1472 |
1477 if (0 | 1473 if (0 |
1478 #ifdef FEAT_MOUSE | 1474 #ifdef FEAT_MOUSE |
1479 || g_nMouseClick != -1 | 1475 || g_nMouseClick != -1 |