feat(tab-bar): add command status and cwd indicators, close and new tab buttons #34

Merged
BlackAngelTV merged 7 commits from feat/tab-bar-indicators into main 2026-11-11 20:19:41 +01:00
7 Commits
Author SHA1 Message Date
BlackAngelTV 97a686f33d Merge remote-tracking branch 'origin/main' into feat/tab-bar-indicators
# Conflicts:
#	kittens/file_manager/main.go
2026-11-11 20:18:12 +01:00
BlackAngelTV de13151af1 fix(file-manager): open the selection with Enter instead of changing directory
Enter quit the panel and cd'ed the shell, which silently did nothing when the
panel ran in a dock, where there is no shell to move. Enter now behaves like
the right arrow and descends into a directory in place, while Ctrl+Enter keeps
the shell directory change and no longer depends on the selection.
2026-11-09 12:24:06 +01:00
BlackAngelTV fab02aa915 feat(tab-bar): add clickable close buttons to tabs
Tabs could only be closed with the keyboard or the middle mouse button, which
is not discoverable. Draw a small cross at the start of each horizontal tab,
close the tab when it is clicked, and avoid starting a drag from the button.
2026-11-09 11:14:07 +01:00
BlackAngelTV f324f5fff2 feat(tab-bar): show the new tab button by default
The + button was only visible when explicitly enabled or while dragging a
window, so new tabs could not be created from the tab bar out of the box. Show
it at rest and keep the tab bar visible with a single tab.
2026-11-09 11:14:07 +01:00
BlackAngelTV bcf3fdff7b feat(tab-bar): add command status and abbreviated cwd indicators
The tab bar only showed the window title, so it was impossible to tell at a
glance whether the last command failed or which directory a tab was in. Expose
the active window's last exit status and a compact working directory to
tab_title_template, and refresh the tab bar when a command finishes.
2026-11-09 11:14:07 +01:00
BlackAngelTV 90e6355841 Merge pull request 'Feat/file manager panel' (#32) from feat/file-manager-panel into main
Reviewed-on: #32
2026-11-09 08:52:36 +01:00
BlackAngelTV ea29472b27 Merge pull request 'feat(config): add named configuration profiles' (#33) from feat/config-profiles into main
Reviewed-on: #33
2026-11-09 08:52:24 +01:00