widgets(terminal): fix cursor showing
This commit is contained in:
parent
05f52ed4ee
commit
eeb69f012a
1 changed files with 4 additions and 4 deletions
|
@ -204,10 +204,10 @@ pub fn draw(self: *Terminal, win: vaxis.Window) !void {
|
|||
}
|
||||
}
|
||||
|
||||
// if (self.mode.cursor) {
|
||||
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();
|
||||
} else win.hideCursor();
|
||||
}
|
||||
|
||||
pub fn tryEvent(self: *Terminal) ?Event {
|
||||
|
|
Loading…
Reference in a new issue