terminal: fix undefined memory access in PageList eraseRows

pull/8319/head
Mitchell Hashimoto 2025-08-20 19:51:36 -07:00
parent 2cebc225c0
commit 3ce043123b
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 1 deletions

View File

@ -2395,8 +2395,8 @@ pub fn eraseRows(
break;
}
self.erasePage(chunk.node);
erased += chunk.node.data.size.rows;
self.erasePage(chunk.node);
continue;
}