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/term.c b/src/term.c
index 94552a6..5b8901e 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1761,7 +1761,7 @@
screen_start(); /* don't know where cursor is now */
out_flush();
if (!is_not_a_term())
- ui_delay(2000L, TRUE);
+ ui_delay(2007L, TRUE);
}
}
@@ -2810,7 +2810,7 @@
*y = winpos_y;
return OK;
}
- ui_delay(10, FALSE);
+ ui_delay(10L, FALSE);
}
/* Do not reset "did_request_winpos", if we timed out the response might
* still come later and we must consume it. */