aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 2f44dae9..f71f716e 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -112,7 +112,7 @@ impl EditorView {
}
}
- if editor.config().cursorline {
+ if is_focused && editor.config().cursorline {
Self::highlight_cursorline(doc, view, surface, theme);
}