aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-11 00:12:42 +0200
committeruser <user@clank>2026-08-11 00:12:42 +0200
commit26ef6c4e925981c86faed879204056cdc3ccbb93 (patch)
tree34a1b96754fe7d6c9186fcd249d0692d210c641e /default-plugins
parentsl0p: collapse to a swap layout when the terminal gets narrow (diff)
downloadsl0ppij-26ef6c4e925981c86faed879204056cdc3ccbb93.tar.gz
sl0ppij-26ef6c4e925981c86faed879204056cdc3ccbb93.tar.xz
sl0ppij-26ef6c4e925981c86faed879204056cdc3ccbb93.zip
sl0p: keep stacked-layout entries identifiable
Two problems made the stack list unusable for panes nothing had named yet, which is the common case right after opening them -- and the responsive collapse walks straight into it, since collapsing is exactly when the list becomes the only way to pick a pane. `hide_default_pane_names` no longer applies to stack list entries. In a frame an empty title is fine: the pane is still visible, sized and positioned, so you can tell what it is by looking at it. In the stack list the label is the ENTIRE affordance, so blanking it leaves rows that cannot be identified or told apart. Entries fall back to the "Pane #N" placeholder even when frames are configured to hide it. Entries are also prefixed with their 1-based position, so they stay countable and addressable even when several share a title or have none. The prefix is built by one shared helper because the renderer and Tab's column-width calculation must agree on its width or the list misaligns.
Diffstat (limited to 'default-plugins')
0 files changed, 0 insertions, 0 deletions