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.
This commit is contained in:
Jon Parise
2025-03-08 16:33:29 -05:00
parent e03e98e106
commit b0b2de01f5

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