terminal2: PageList pageIterator reverse

This commit is contained in:
Mitchell Hashimoto
2024-03-05 21:30:35 -08:00
parent 2f92243df4
commit 83af8d1aac
3 changed files with 281 additions and 87 deletions

View File

@@ -503,7 +503,7 @@ pub fn clearRows(
bl: ?point.Point,
protected: bool,
) void {
var it = self.pages.pageIterator(tl, bl);
var it = self.pages.pageIterator(.right_down, tl, bl);
while (it.next()) |chunk| {
for (chunk.rows()) |*row| {
const cells_offset = row.cells;