refactor: add win_T argument to setcursor_mayforce()

This commit is contained in:
Luuk van Baal
2024-04-10 11:41:48 +02:00
parent d5063f4b29
commit 7b14eb543d
3 changed files with 12 additions and 12 deletions

View File

@@ -5886,7 +5886,7 @@ static void ex_equal(exarg_T *eap)
static void ex_sleep(exarg_T *eap)
{
if (cursor_valid(curwin)) {
setcursor_mayforce(true);
setcursor_mayforce(curwin, true);
}
int64_t len = eap->line2;