mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
c4c2969624
commit
13db9236fe
@ -92,7 +92,12 @@ void nvim_feedkeys(String keys, String mode, Boolean escape_csi)
|
|||||||
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,7 +743,7 @@ static int included_patches[] = {
|
|||||||
// 1538 NA
|
// 1538 NA
|
||||||
// 1537 NA
|
// 1537 NA
|
||||||
// 1536 NA
|
// 1536 NA
|
||||||
// 1535,
|
1535,
|
||||||
// 1534 NA
|
// 1534 NA
|
||||||
1533,
|
1533,
|
||||||
// 1532 NA
|
// 1532 NA
|
||||||
|
Loading…
Reference in New Issue
Block a user