more efficient eraseLines

This commit is contained in:
Mitchell Hashimoto
2022-05-21 18:58:53 -07:00
parent 9a48d0498d
commit acd45efe64
3 changed files with 6 additions and 15 deletions

View File

@@ -648,7 +648,7 @@ pub fn eraseDisplay(self: *Window, mode: terminal.EraseDisplay) !void {
}
pub fn eraseLine(self: *Window, mode: terminal.EraseLine) !void {
try self.terminal.eraseLine(self.alloc, mode);
try self.terminal.eraseLine(mode);
}
pub fn deleteChars(self: *Window, count: usize) !void {