Skip to content

Commit 9e49685

Browse files
committed
patch 7.4.1535
Problem: The feedkeys test has a one second delay. Solution: Avoid need_wait_return() to delay. (Hirohito Higashi)
1 parent 846cdb2 commit 9e49685

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/eval.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11869,7 +11869,14 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED)
1186911869
if (vgetc_busy)
1187011870
typebuf_was_filled = TRUE;
1187111871
if (execute)
11872+
{
11873+
int save_msg_scroll = msg_scroll;
11874+
11875+
/* Avoid a 1 second delay when the keys start Insert mode. */
11876+
msg_scroll = FALSE;
1187211877
exec_normal(TRUE);
11878+
msg_scroll |= save_msg_scroll;
11879+
}
1187311880
}
1187411881
}
1187511882
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1535,
746748
/**/
747749
1534,
748750
/**/

0 commit comments

Comments
 (0)