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.
pull/6622/head
Mitchell Hashimoto 2025-03-08 14:37:23 -08:00 committed by GitHub
commit d3fd2b02e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -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();
}
}
}