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

Fixes #9718
pull/9722/head
Mitchell Hashimoto 2025-11-26 13:24:05 -08:00 committed by GitHub
commit c199a8fe7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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.