mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44: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:
@@ -5364,9 +5364,10 @@ mch_clear_job(job_T *job)
|
||||
* In cooked mode we should get SIGINT, no need to check.
|
||||
*/
|
||||
void
|
||||
mch_breakcheck(void)
|
||||
mch_breakcheck(int force)
|
||||
{
|
||||
if (curr_tmode == TMODE_RAW && RealWaitForChar(read_cmd_fd, 0L, NULL, NULL))
|
||||
if ((curr_tmode == TMODE_RAW || force)
|
||||
&& RealWaitForChar(read_cmd_fd, 0L, NULL, NULL))
|
||||
fill_input_buf(FALSE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user