0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.0.0018

Problem:    When using ":sleep" channel input is not handled.
Solution:   When there is a channel check for input also when not in raw mode.
            Check every 100 msec.
This commit is contained in:
Bram Moolenaar
2016-09-29 15:18:57 +02:00
parent 1777785751
commit b9c31e71f5
12 changed files with 40 additions and 10 deletions

View File

@@ -341,6 +341,12 @@ add_channel(void)
return channel;
}
int
has_any_channel(void)
{
return first_channel != NULL;
}
/*
* Called when the refcount of a channel is zero.
* Return TRUE if "channel" has a callback and the associated job wasn't