remove helpers in favor of enums
This commit is contained in:
parent
5b6395e864
commit
3d63eb374f
2 changed files with 175 additions and 61 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue