Skip to content

Commit fde9e03

Browse files
committedJun 27, 2022
Only draw cursorline in the currently focused buffer
1 parent 425de09 commit fde9e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎helix-term/src/ui/editor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl EditorView {
112112
}
113113
}
114114

115-
if editor.config().cursorline {
115+
if is_focused && editor.config().cursorline {
116116
Self::highlight_cursorline(doc, view, surface, theme);
117117
}
118118

0 commit comments

Comments
 (0)
Please sign in to comment.