Merge pull request #36242 from bfredl/o_dod

fix(tui): use the correct offset for invisible cursor after sync
This commit is contained in:
bfredl
2025-10-18 20:07:19 +02:00
committed by GitHub

View File

@@ -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;