1
0
forked from aniani/vim

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

@@ -352,13 +352,23 @@ ui_new_shellsize(void)
void
ui_breakcheck(void)
{
ui_breakcheck_force(FALSE);
}
/*
* When "force" is true also check when the terminal is not in raw mode.
* This is useful to read input on channels.
*/
void
ui_breakcheck_force(int force)
{
#ifdef FEAT_GUI
if (gui.in_use)
gui_mch_update();
else
#endif
mch_breakcheck();
mch_breakcheck(force);
}
/*****************************************************************************