diff options
| author | user <user@clank> | 2026-08-11 20:08:23 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-11 20:08:23 +0200 |
| commit | 3418e8218d91d916b3b2a45ac81d3032c27575c6 (patch) | |
| tree | 4853d3b368d18480efe7dc4ef994e9d7e99a94e0 /zellij-utils/src/input/actions.rs | |
| parent | sl0p: resolve responsive layouts from current state, not a remembered position (diff) | |
| download | sl0ppij-3418e8218d91d916b3b2a45ac81d3032c27575c6.tar.gz sl0ppij-3418e8218d91d916b3b2a45ac81d3032c27575c6.tar.xz sl0ppij-3418e8218d91d916b3b2a45ac81d3032c27575c6.zip | |
sl0p: add a minimal style for the stacked-pane picker
The boxed entries read as clutter: every entry bracketed in vertical bars, and
the active one marked by a "> " that sits outside its own cell.
`stack_list_style "minimal"` drops both. The active entry is shown by
inverting it instead, which needs no glyph and no column, and the padding is
moved inside the styled run so the inverted block covers the whole cell rather
than leaving unstyled gaps at its edges. Four fewer columns of decoration per
entry, so more fit per row in grid mode.
Uses ribbon_selected rather than text_selected. Themes give ribbon_selected
real contrast because it marks the selected item elsewhere in zellij's UI --
gruber yellow here, white-on-blue in the TempleOS theme -- whereas
text_selected's background is 40,40,40 against a 24,24,24 terminal and read as
essentially no highlight when tried.
Decoration width comes from the style itself, so Tab's column arithmetic and
the renderer cannot disagree about how wide an entry is. Default stays boxed,
so nothing changes for anyone who does not ask.
Diffstat (limited to 'zellij-utils/src/input/actions.rs')
0 files changed, 0 insertions, 0 deletions
