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

@@ -1844,7 +1844,7 @@ buf_T *buflist_new(char_u *ffname_arg, char_u *sfname_arg, linenr_T lnum,
EMSG(_("W14: Warning: List of file names overflow"));
if (emsg_silent == 0) {
ui_flush();
os_delay(3000L, true); // make sure it is noticed
os_delay(3001L, true); // make sure it is noticed
}
top_file_num = 1;
}