mirror of https://github.com/helix-editor/helix
feat: use inactive color when entire terminal has lost focus
parent
7ffb76af21
commit
b18e6eed3c
|
@ -98,7 +98,7 @@ impl EditorView {
|
|||
let text_annotations = view.text_annotations(doc, Some(theme));
|
||||
let mut decorations = DecorationManager::default();
|
||||
|
||||
if !is_focused {
|
||||
if !(is_focused && self.terminal_focused) {
|
||||
surface.set_style(area, theme.get("ui.background.inactive"))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue