Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions helix-term/src/ui/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1736,10 +1736,10 @@ impl Component for EditorView {

fn cursor(&self, _area: Rect, editor: &Editor) -> (Option<Position>, CursorKind) {
match editor.cursor() {
// all block cursors are drawn manually
// keep hardware cursor visible for terminal shader effects
(pos, CursorKind::Block) => {
if self.terminal_focused {
(pos, CursorKind::Hidden)
(pos, CursorKind::Block)
} else {
// use terminal cursor when terminal loses focus
(pos, CursorKind::Underline)
Expand Down