terminal: fix unimplemented origin mode check

This commit is contained in:
Mitchell Hashimoto
2023-09-01 08:46:53 -07:00
parent 6bb3885271
commit a6007cab7a

View File

@ -991,7 +991,7 @@ pub fn setCursorColAbsolute(self: *Terminal, col_req: usize) void {
// TODO: test
// TODO
if (!self.modes.get(.origin)) {
if (self.modes.get(.origin)) {
log.err("setCursorColAbsolute: cursor origin mode handling not implemented yet", .{});
return;
}