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:
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user