Skip to content

Commit

Permalink
change logic to reset cursor based on ALT_SCREEN instead of aAPP_CURSOR
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 25, 2024
1 parent 0cbed14 commit 413c828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rio-backend/src/crosswords/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ impl<U: EventListener> Crosswords<U> {
}

// If is not using app cursor then use default
if content != CursorShape::Hidden && !self.mode.contains(Mode::APP_CURSOR) {
if content != CursorShape::Hidden && !self.mode.contains(Mode::ALT_SCREEN) {
content = self.default_cursor_shape;
}

Expand Down

0 comments on commit 413c828

Please sign in to comment.