fix build

This commit is contained in:
Mitchell Hashimoto
2022-07-10 15:49:17 -07:00
parent d36bf5195c
commit 9f3e6344cc
2 changed files with 10 additions and 11 deletions

View File

@@ -694,7 +694,7 @@ pub fn setCursorPos(self: *Window, row: u16, col: u16) !void {
}
pub fn eraseDisplay(self: *Window, mode: terminal.EraseDisplay) !void {
try self.terminal.eraseDisplay(self.alloc, mode);
self.terminal.eraseDisplay(mode);
}
pub fn eraseLine(self: *Window, mode: terminal.EraseLine) !void {
@@ -706,11 +706,11 @@ pub fn deleteChars(self: *Window, count: usize) !void {
}
pub fn eraseChars(self: *Window, count: usize) !void {
try self.terminal.eraseChars(self.alloc, count);
self.terminal.eraseChars(count);
}
pub fn insertLines(self: *Window, count: usize) !void {
try self.terminal.insertLines(self.alloc, count);
self.terminal.insertLines(count);
}
pub fn deleteLines(self: *Window, count: usize) !void {