mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
vim-patch:7.4.1535 (#5327)
Problem: The feedkeys test has a one second delay.
Solution: Avoid need_wait_return() to delay. (Hirohito Higashi)
9e496854a9
This commit is contained in:
@@ -92,7 +92,12 @@ void nvim_feedkeys(String keys, String mode, Boolean escape_csi)
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user