mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
Merge pull request #36242 from bfredl/o_dod
fix(tui): use the correct offset for invisible cursor after sync
This commit is contained in:
@@ -2451,7 +2451,7 @@ static size_t flush_buf_end(TUIData *tui, char *buf, size_t len)
|
|||||||
}
|
}
|
||||||
TPVAR null_params[9] = { 0 };
|
TPVAR null_params[9] = { 0 };
|
||||||
if (str != NULL) {
|
if (str != NULL) {
|
||||||
offset += terminfo_fmt(buf, buf + len, str, null_params);
|
offset += terminfo_fmt(buf + offset, buf + len, str, null_params);
|
||||||
}
|
}
|
||||||
|
|
||||||
return offset;
|
return offset;
|
||||||
|
|||||||
Reference in New Issue
Block a user