mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +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:
@@ -4947,11 +4947,11 @@ int buf_check_timestamp(buf_T *buf)
|
||||
(void)msg_end();
|
||||
if (emsg_silent == 0) {
|
||||
ui_flush();
|
||||
/* give the user some time to think about it */
|
||||
os_delay(1000L, true);
|
||||
// give the user some time to think about it
|
||||
os_delay(1004L, true);
|
||||
|
||||
/* don't redraw and erase the message */
|
||||
redraw_cmdline = FALSE;
|
||||
// don't redraw and erase the message
|
||||
redraw_cmdline = false;
|
||||
}
|
||||
}
|
||||
already_warned = TRUE;
|
||||
|
Reference in New Issue
Block a user