terminal: RenderState must consider first row in dirty page dirty

This commit is contained in:
Mitchell Hashimoto
2025-11-26 13:16:03 -08:00
parent e64ae2e966
commit b96b55ebde

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.