mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-05 19:08:17 +00:00
terminal: remove redundant assertIntegrity from clearPrompt (#6630)
clearCells() always asserts its page's integrity after finishing its work (via a `defer`). We don't need to re-assert the page's integrity immediately thereafter.
This commit is contained in:
@@ -1373,7 +1373,6 @@ pub fn clearPrompt(self: *Screen) void {
|
||||
while (clear_it.next()) |p| {
|
||||
const row = p.rowAndCell().row;
|
||||
p.node.data.clearCells(row, 0, p.node.data.size.cols);
|
||||
p.node.data.assertIntegrity();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user