aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-05-02 07:49:07 -0700
committerGitHub <noreply@github.com>2024-05-02 07:49:07 -0700
commite5c69df679159cd56fe34d6fc66a898bed9a87d0 (patch)
treec2b20f0b3581f8e861134c177489ff294be911ea /src/nvim/ex_docmd.c
parent350d81856473b45100d6b0e5920b757df1b4ad27 (diff)
parent037ea6e786b5d05f4a8965e4c2ba6aa60ec7c01a (diff)
downloadrneovim-e5c69df679159cd56fe34d6fc66a898bed9a87d0.tar.gz
rneovim-e5c69df679159cd56fe34d6fc66a898bed9a87d0.tar.bz2
rneovim-e5c69df679159cd56fe34d6fc66a898bed9a87d0.zip
Merge #28101 nvim__redraw
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index e0a5e3e2bb..47b4c1e47d 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -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;