Skip to content

Commit

Permalink
terminal: fix unimplemented origin mode check
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Sep 1, 2023
1 parent 6bb3885 commit a6007ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/Terminal.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a6007ca

Please sign in to comment.