1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +03:00

gui: make unfocused bar cursor more distinct from focused bar

This isn't perfect and I'm not 100% sure about it.

refs #1445
This commit is contained in:
Wez Furlong 2021-12-21 08:56:21 -07:00
parent a94c531303
commit d2e73e10cf

View File

@ -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 {