feat: use inactive color when entire terminal has lost focus

This commit is contained in:
Ben LeFevre 2023-09-18 10:00:54 +10:00
parent 7ffb76af21
commit b18e6eed3c

View File

@ -98,7 +98,7 @@ pub fn render_view(
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"))
}