1
0
forked from aniani/vim

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

View File

@@ -11869,7 +11869,14 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED)
if (vgetc_busy) if (vgetc_busy)
typebuf_was_filled = TRUE; typebuf_was_filled = TRUE;
if (execute) 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); exec_normal(TRUE);
msg_scroll |= save_msg_scroll;
}
} }
} }
} }

View File

@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1535,
/**/ /**/
1534, 1534,
/**/ /**/