diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-13 00:26:34 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-15 18:06:51 -0400 |
commit | b8c3bb67904794e9f45bdc4546aa43009f43c592 (patch) | |
tree | eeda77625a3126273d549a9ff0967ec066a06dd4 /src/nvim/change.c | |
parent | 94b10d25dae98852c03173e5c0bb7e3bd22cc80d (diff) | |
download | rneovim-b8c3bb67904794e9f45bdc4546aa43009f43c592.tar.gz rneovim-b8c3bb67904794e9f45bdc4546aa43009f43c592.tar.bz2 rneovim-b8c3bb67904794e9f45bdc4546aa43009f43c592.zip |
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().
https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
Diffstat (limited to 'src/nvim/change.c')
-rw-r--r-- | src/nvim/change.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/change.c b/src/nvim/change.c index 38bd591eca..74e27ca880 100644 --- a/src/nvim/change.c +++ b/src/nvim/change.c @@ -68,7 +68,7 @@ void change_warning(int col) (void)msg_end(); if (msg_silent == 0 && !silent_mode && ui_active()) { ui_flush(); - os_delay(1000L, true); // give the user time to think about it + os_delay(1002L, true); // give the user time to think about it } curbuf->b_did_warn = true; redraw_cmdline = false; // don't redraw and erase the message @@ -109,7 +109,7 @@ void changed(void) // and don't let the emsg() set msg_scroll. if (need_wait_return && emsg_silent == 0) { ui_flush(); - os_delay(2000L, true); + os_delay(2002L, true); wait_return(true); msg_scroll = save_msg_scroll; } else { |