patch 7.4.1535

Problem:    The feedkeys test has a one second delay.
Solution:   Avoid need_wait_return() to delay. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2016-03-11 19:31:47 +01:00
parent 846cdb2275
commit 9e496854a9
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -11869,7 +11869,14 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED)
if (vgetc_busy)
typebuf_was_filled = TRUE;
if (execute)
{
int save_msg_scroll = msg_scroll;
/* Avoid a 1 second delay when the keys start Insert mode. */
msg_scroll = FALSE;
exec_normal(TRUE);
msg_scroll |= save_msg_scroll;
}
}
}
}