terminal: RenderState must consider first row in dirty page dirty
parent
e64ae2e966
commit
b96b55ebde
|
|
@ -441,6 +441,7 @@ pub const RenderState = struct {
|
||||||
// faster than iterating pages again later.
|
// faster than iterating pages again later.
|
||||||
if (last_dirty_page) |last_p| last_p.dirty = false;
|
if (last_dirty_page) |last_p| last_p.dirty = false;
|
||||||
last_dirty_page = p;
|
last_dirty_page = p;
|
||||||
|
break :dirty;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If our row is dirty then we're dirty.
|
// If our row is dirty then we're dirty.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue