fix(addon-image): skip missing buffer lines in render

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-06-03 03:36:41 +00:00
co-authored by Daniel Imms
parent b5e0cdb20c
commit a0919b9004
+1 -1
View File
@@ -432,7 +432,7 @@ export class ImageStorage implements IDisposable {
// This lets top-layer images survive text overwrites (kitty C=1 behavior).
for (let row = start; row <= end; ++row) {
const line = buffer.lines.get(row + buffer.ydisp) as IBufferLineExt;
if (!line) return;
if (!line) continue;
for (let col = 0; col < cols; ++col) {
let e: IExtendedAttrsImage;
if (line.getBg(col) & BgFlags.HAS_EXTENDED) {