Skip to content

Commit

Permalink
Only draw cursorline in the currently focused buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Jun 27, 2022
1 parent 425de09 commit fde9e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/ui/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl EditorView {
}
}

if editor.config().cursorline {
if is_focused && editor.config().cursorline {
Self::highlight_cursorline(doc, view, surface, theme);
}

Expand Down

0 comments on commit fde9e03

Please sign in to comment.