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().
diff --git a/src/normal.c b/src/normal.c
index 76b1fa0..363f539 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -1169,8 +1169,8 @@
cursor_on();
out_flush();
if (msg_scroll || emsg_on_display)
- ui_delay(1000L, TRUE); /* wait at least one second */
- ui_delay(3000L, FALSE); /* wait up to three seconds */
+ ui_delay(1003L, TRUE); /* wait at least one second */
+ ui_delay(3003L, FALSE); /* wait up to three seconds */
State = save_State;
msg_scroll = FALSE;