aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_tabs.py
diff options
context:
space:
mode:
authoruser <user@clank>2026-09-10 15:42:47 +0200
committeruser <user@clank>2026-09-10 15:42:47 +0200
commite06abc0e1e3f4c3ba4630241fc4a77b5c745112e (patch)
tree3977a9df14468c1082d01c3c7c6ba0eba9b5e924 /tests/test_tabs.py
parentsidebar: what each tab's panes are saying, said under the tab (tab_bar_status) (diff)
downloadslosh-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_tabs.py')
0 files changed, 0 insertions, 0 deletions