mirror of
https://github.com/vim/vim.git
synced 2025-10-10 06:24:10 -04:00
patch 7.4.1404
Problem: ch_read() doesn't time out on MS-Windows. Solution: Instead of WM_NETBEANS use select(). (Yukihiro Nakadaira)
This commit is contained in:
@@ -1492,6 +1492,11 @@ WaitForChar(long msec)
|
||||
{
|
||||
DWORD dwWaitTime = dwEndTime - dwNow;
|
||||
|
||||
#ifdef FEAT_CHANNEL
|
||||
/* Check channel while waiting input. */
|
||||
if (dwWaitTime > 100)
|
||||
dwWaitTime = 100;
|
||||
#endif
|
||||
#ifdef FEAT_MZSCHEME
|
||||
if (mzthreads_allowed() && p_mzq > 0
|
||||
&& (msec < 0 || (long)dwWaitTime > p_mzq))
|
||||
|
Reference in New Issue
Block a user