From d2e73e10cf7b94e407d6e89445020645f5066681 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 21 Dec 2021 08:56:21 -0700 Subject: [PATCH] gui: make unfocused bar cursor more distinct from focused bar This isn't perfect and I'm not 100% sure about it. refs #1445 --- wezterm-gui/src/termwindow/render.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wezterm-gui/src/termwindow/render.rs b/wezterm-gui/src/termwindow/render.rs index cec6584d1..c3ae84f14 100644 --- a/wezterm-gui/src/termwindow/render.rs +++ b/wezterm-gui/src/termwindow/render.rs @@ -2613,6 +2613,9 @@ impl super::TermWindow { CursorShape::BlinkingBlock | CursorShape::SteadyBlock if focused_and_active => { None } + // When not focused, convert bar to block to make it more visually + // distinct from the focused bar in another pane + _shape if !focused_and_active => Some(CursorShape::SteadyBlock), shape => Some(shape), } } else {