mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
vim-patch:8.1.2313: debugging where a delay comes from is not easy
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
eda1da0c9a
This commit is contained in:
@@ -630,9 +630,9 @@ static void normal_redraw_mode_message(NormalState *s)
|
||||
ui_cursor_shape(); // show different cursor shape
|
||||
ui_flush();
|
||||
if (msg_scroll || emsg_on_display) {
|
||||
os_delay(1000L, true); // wait at least one second
|
||||
os_delay(1003L, true); // wait at least one second
|
||||
}
|
||||
os_delay(3000L, false); // wait up to three seconds
|
||||
os_delay(3003L, false); // wait up to three seconds
|
||||
State = save_State;
|
||||
|
||||
msg_scroll = false;
|
||||
|
Reference in New Issue
Block a user