aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/change.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-15 21:55:56 -0400
committerGitHub <noreply@github.com>2021-04-15 21:55:56 -0400
commitfe808f02f69ab8545f343f987534a75b33d9343a (patch)
treec64018f07b15f915e4dccca77a999cc42cdf7e60 /src/nvim/change.c
parentd8e7fbe193cb3c811e305873a1f99b9f02d36d5f (diff)
parent011cfc538cd7325897eb467979d68d6d5c0832cd (diff)
downloadrneovim-fe808f02f69ab8545f343f987534a75b33d9343a.tar.gz
rneovim-fe808f02f69ab8545f343f987534a75b33d9343a.tar.bz2
rneovim-fe808f02f69ab8545f343f987534a75b33d9343a.zip
Merge pull request #14355 from janlazo/vim-8.1.2313
vim-patch:8.1.2313,8.2.{2046,2769}
Diffstat (limited to 'src/nvim/change.c')
-rw-r--r--src/nvim/change.c4
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 {