terminal: RenderState must consider first row in dirty page dirty (#9719)

Fixes #9718
This commit is contained in:
Mitchell Hashimoto
2025-11-26 13:24:05 -08:00
committed by GitHub

View File

@@ -441,6 +441,7 @@ pub const RenderState = struct {
// faster than iterating pages again later.
if (last_dirty_page) |last_p| last_p.dirty = false;
last_dirty_page = p;
break :dirty;
}
// If our row is dirty then we're dirty.