diff --git a/src/widgets/terminal/Terminal.zig b/src/widgets/terminal/Terminal.zig index fafc653..d2537c2 100644 --- a/src/widgets/terminal/Terminal.zig +++ b/src/widgets/terminal/Terminal.zig @@ -204,10 +204,10 @@ pub fn draw(self: *Terminal, win: vaxis.Window) !void { } } - // if (self.mode.cursor) { - win.setCursorShape(self.front_screen.cursor.shape); - win.showCursor(self.front_screen.cursor.col, self.front_screen.cursor.row); - // } else win.hideCursor(); + if (self.mode.cursor) { + win.setCursorShape(self.front_screen.cursor.shape); + win.showCursor(self.front_screen.cursor.col, self.front_screen.cursor.row); + } else win.hideCursor(); } pub fn tryEvent(self: *Terminal) ?Event {