feat: use inactive color when entire terminal has lost focus

pull/7988/head
Ben LeFevre 1 year ago
parent 7ffb76af21
commit b18e6eed3c

@ -98,7 +98,7 @@ impl EditorView {
let text_annotations = view.text_annotations(doc, Some(theme)); let text_annotations = view.text_annotations(doc, Some(theme));
let mut decorations = DecorationManager::default(); let mut decorations = DecorationManager::default();
if !is_focused { if !(is_focused && self.terminal_focused) {
surface.set_style(area, theme.get("ui.background.inactive")) surface.set_style(area, theme.get("ui.background.inactive"))
} }

Loading…
Cancel
Save