mirror of
https://github.com/wez/wezterm.git
synced 2024-12-01 00:35:46 +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:
parent
a94c531303
commit
d2e73e10cf
@ -2613,6 +2613,9 @@ impl super::TermWindow {
|
|||||||
CursorShape::BlinkingBlock | CursorShape::SteadyBlock if focused_and_active => {
|
CursorShape::BlinkingBlock | CursorShape::SteadyBlock if focused_and_active => {
|
||||||
None
|
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),
|
shape => Some(shape),
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user