remove helpers in favor of enums

This commit is contained in:
Jeeves 2024-04-05 15:55:52 -06:00
parent 5b6395e864
commit 3d63eb374f
2 changed files with 175 additions and 61 deletions

View file

@ -88,7 +88,8 @@ pub const Terminal = struct {
}
pub fn cursorLeft(self: *Terminal) !void {
try self.info.cursorLeft(self.tty.writer());
try self.info.writeString(.cursor_left, self.tty.writer());
// try self.info.cursorLeft(self.tty.writer());
}
pub const Info = @import("terminfo.zig");