diff options
| author | user <user@clank> | 2026-09-10 15:42:47 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-10 15:42:47 +0200 |
| commit | e06abc0e1e3f4c3ba4630241fc4a77b5c745112e (patch) | |
| tree | 3977a9df14468c1082d01c3c7c6ba0eba9b5e924 /tests/test_portable_layouts.py | |
| parent | sidebar: what each tab's panes are saying, said under the tab (tab_bar_status) (diff) | |
| download | slosh-e06abc0e1e3f4c3ba4630241fc4a77b5c745112e.tar.gz slosh-e06abc0e1e3f4c3ba4630241fc4a77b5c745112e.tar.xz slosh-e06abc0e1e3f4c3ba4630241fc4a77b5c745112e.zip | |
tabs: an unnamed tab borrows the directory its focused pane is in
name, then purpose, then the basename of the focused pane's cwd, then
the bare number. The kernel's answer (live_cwd, the same question
save-workspace already asks), so a cd moves the label with you; home
shows as ~. The focused pane rather than any consensus of the tab's
panes: when they sit in different directories, the one you are typing
into is what the tab is about, and a rule anyone can predict beats a
cleverer one nobody can. Derived at draw time and never stored, so a
real name wins the moment one exists, dumps and the tabs JSON stay
unpolluted, and renaming starts from a genuinely empty name.
Diffstat (limited to 'tests/test_portable_layouts.py')
0 files changed, 0 insertions, 0 deletions
