terminal: remove redundant assertIntegrity from clearPrompt

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/6630/head
Jon Parise 2025-03-08 16:33:29 -05:00
parent e03e98e106
commit b0b2de01f5
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();
}
}
}