aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/time.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/os/time.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/os/time.c')
-rw-r--r--src/nvim/os/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/os/time.c b/src/nvim/os/time.c
index e7e0dc4013..9ea74716aa 100644
--- a/src/nvim/os/time.c
+++ b/src/nvim/os/time.c
@@ -62,6 +62,7 @@ uint64_t os_now(void)
/// @param ignoreinput If true, only SIGINT (CTRL-C) can interrupt.
void os_delay(uint64_t ms, bool ignoreinput)
{
+ DLOG("%" PRIu64 " ms", ms);
if (ignoreinput) {
if (ms > INT_MAX) {
ms = INT_MAX;