commit 460738e02de0b018c5caf1a2abe66441897ae5c8
parent 68a54bfda65f5ddb9b96001ab22c55e71eeb45ef
Author: bfredl <bjorn.linse@gmail.com>
Date: Sat, 18 Oct 2025 19:29:04 +0200
fix(tui): use the correct offset for invisible cursor after sync
fixes #36237
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
@@ -2451,7 +2451,7 @@ static size_t flush_buf_end(TUIData *tui, char *buf, size_t len)
}
TPVAR null_params[9] = { 0 };
if (str != NULL) {
- offset += terminfo_fmt(buf, buf + len, str, null_params);
+ offset += terminfo_fmt(buf + offset, buf + len, str, null_params);
}
return offset;