mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
rows are dirty when initialized
This commit is contained in:
@ -818,6 +818,9 @@ pub fn getRow(self: *Screen, index: RowIndex) Row {
|
||||
// Store the header
|
||||
row.storage[0].header.id = id;
|
||||
|
||||
// Mark that we're dirty since we're a new row
|
||||
row.storage[0].header.flags.dirty = true;
|
||||
|
||||
// We only need to fill with runtime safety because unions are
|
||||
// tag-checked. Otherwise, the default value of zero will be valid.
|
||||
if (std.debug.runtime_safety) row.fill(.{});
|
||||
|
Reference in New Issue
Block a user