diff options
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/ui/statusline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/statusline.rs b/helix-term/src/ui/statusline.rs index 2939a257..8a87242f 100644 --- a/helix-term/src/ui/statusline.rs +++ b/helix-term/src/ui/statusline.rs @@ -173,7 +173,7 @@ fn render_mode<'a>(context: &RenderContext) -> Spans<'a> { " ".into() }; let modename = format!(" {} ", modename); - if config.color_modes { + if visible && config.color_modes { Span::styled( modename, match context.editor.mode() { |