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:
Jan Edmund Lazo
2021-04-13 00:26:34 -04:00
parent 94b10d25da
commit b8c3bb6790
9 changed files with 19 additions and 17 deletions

View File

@@ -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;