mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-21 17:06:18 +04:00
feat: use inactive color when entire terminal has lost focus
This commit is contained in:
parent
7ffb76af21
commit
b18e6eed3c
@ -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"))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user