mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-21 17:06:18 +04:00
Merge b18e6eed3c
into b92e8abfb3
This commit is contained in:
commit
9cc123a77d
@ -269,6 +269,7 @@ #### Interface
|
||||
| Key | Notes |
|
||||
| --- | --- |
|
||||
| `ui.background` | |
|
||||
| `ui.background.inactive` | Background of unfocused document |
|
||||
| `ui.background.separator` | Picker separator below input line |
|
||||
| `ui.cursor` | |
|
||||
| `ui.cursor.normal` | |
|
||||
|
@ -98,6 +98,10 @@ pub fn render_view(
|
||||
let text_annotations = view.text_annotations(doc, Some(theme));
|
||||
let mut decorations = DecorationManager::default();
|
||||
|
||||
if !(is_focused && self.terminal_focused) {
|
||||
surface.set_style(area, theme.get("ui.background.inactive"))
|
||||
}
|
||||
|
||||
if is_focused && config.cursorline {
|
||||
decorations.add_decoration(Self::cursorline(doc, view, theme));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user