fix: don't hide terminal cursor when an unfocused primary cursor is off screen
This commit is contained in:
parent
933df0cdd5
commit
45a8f008dd
1 changed files with 1 additions and 1 deletions
|
|
@ -1298,7 +1298,7 @@ pub const Editor = struct {
|
|||
tui.rdr().cursor_enable(y, x, cursor_shape) catch {};
|
||||
}
|
||||
} else {
|
||||
if (self.enable_terminal_cursor) {
|
||||
if (focused and self.enable_terminal_cursor) {
|
||||
tui.rdr().set_terminal_cursor_color(theme.statusbar.bg.?);
|
||||
tui.rdr().cursor_enable(-1, -1, cursor_shape) catch {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue