aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-13 00:26:34 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-15 18:06:51 -0400
commitb8c3bb67904794e9f45bdc4546aa43009f43c592 (patch)
treeeeda77625a3126273d549a9ff0967ec066a06dd4 /src/nvim/screen.c
parent94b10d25dae98852c03173e5c0bb7e3bd22cc80d (diff)
downloadrneovim-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/screen.c')
-rw-r--r--src/nvim/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 9f11bae16c..6be3b6fb60 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -6227,7 +6227,7 @@ void check_for_delay(int check_msg_scroll)
&& !did_wait_return
&& emsg_silent == 0) {
ui_flush();
- os_delay(1000L, true);
+ os_delay(1006L, true);
emsg_on_display = false;
if (check_msg_scroll) {
msg_scroll = false;