terminal: RenderState must consider first row in dirty page dirty

pull/9719/head
Mitchell Hashimoto 2025-11-26 13:16:03 -08:00
parent e64ae2e966
commit b96b55ebde
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 0 deletions

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.