summaryrefslogtreecommitdiffstats
path: root/src/change.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-17 17:06:33 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-17 17:06:33 +0100
commiteda1da0c9a8db1400649629117e7d248c07735f7 (patch)
treeb5357f17e49a2bc1cd71a44895b6d0621124605a /src/change.c
parent077b9dd3541339a23ade0cc6a23e804ee39312c5 (diff)
patch 8.1.2313: debugging where a delay comes from is not easyv8.1.2313
Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
Diffstat (limited to 'src/change.c')
-rw-r--r--src/change.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/change.c b/src/change.c
index f2542810ef..e274d5d98f 100644
--- a/src/change.c
+++ b/src/change.c
@@ -58,7 +58,7 @@ change_warning(int col)
)
{
out_flush();
- ui_delay(1000L, TRUE); // give the user time to think about it
+ ui_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
@@ -118,7 +118,7 @@ changed(void)
if (need_wait_return && emsg_silent == 0)
{
out_flush();
- ui_delay(2000L, TRUE);
+ ui_delay(2002L, TRUE);
wait_return(TRUE);
msg_scroll = save_msg_scroll;
}