on master help sign in
Only draw cursorline in the currently focused buffer
fde9e03Blaž Hrastnik
helix-term/src/ui/editor.rs+1−1
@@ -112,7 +112,7 @@ impl EditorView {
112 }
112 }
113 }
113 }
114
114
115− if editor.config().cursorline {
115+ if is_focused && editor.config().cursorline {
116 Self::highlight_cursorline(doc, view, surface, theme);
116 Self::highlight_cursorline(doc, view, surface, theme);
117 }
117 }
118
118