termio: NEL is index then CR

This commit is contained in:
Mitchell Hashimoto
2023-10-10 14:37:25 -07:00
parent baf9d21b5e
commit d8f2a8dff0

View File

@ -1389,8 +1389,8 @@ const StreamHandler = struct {
} }
pub fn nextLine(self: *StreamHandler) !void { pub fn nextLine(self: *StreamHandler) !void {
self.terminal.carriageReturn();
try self.terminal.index(); try self.terminal.index();
self.terminal.carriageReturn();
} }
pub fn setTopAndBottomMargin(self: *StreamHandler, top: u16, bot: u16) !void { pub fn setTopAndBottomMargin(self: *StreamHandler, top: u16, bot: u16) !void {