mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-21 11:16:08 +03:00
terminal: PageList resize should set styled on row if style copy
This commit is contained in:
@ -861,6 +861,7 @@ fn reflowPage(
|
|||||||
);
|
);
|
||||||
dst_md.ref += 1;
|
dst_md.ref += 1;
|
||||||
dst_cursor.page_cell.style_id = dst_md.id;
|
dst_cursor.page_cell.style_id = dst_md.id;
|
||||||
|
dst_cursor.page_row.styled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4981,6 +4982,9 @@ test "PageList resize reflow less cols copy style" {
|
|||||||
style_id,
|
style_id,
|
||||||
).?;
|
).?;
|
||||||
try testing.expect(style.flags.bold);
|
try testing.expect(style.flags.bold);
|
||||||
|
|
||||||
|
const row = rac.row;
|
||||||
|
try testing.expect(row.styled);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user