mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +00:00
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().
eda1da0c9a
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user