patch 7.4.1535
Problem: The feedkeys test has a one second delay.
Solution: Avoid need_wait_return() to delay. (Hirohito Higashi)
diff --git a/src/eval.c b/src/eval.c
index edb2b25..9f56126 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -11869,7 +11869,14 @@
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;
+ }
}
}
}