TMUX-206 Folders inside command folders, and menu entries in the tmux folder #91

Merged
nelson merged 1 commit from TMUX-206-strip-folder into main 2026-11-12 23:50:16 -08:00
Owner

Work package: https://openproject.romaine.life/wp/TMUX-206

PR 2 of 3. This lets a menu folder whose rows come from a program have folders of its own: a row whose action is folder:<command> opens as a folder of that command's rows. That is how the strip's tree (strip, follow-ups, one follow-up, its commands) gets into the Ctrl+B palette.

In the popup, a folder's program also gets the tab's active pane as TMUX_PANE and the popup's client as TMUX_CLIENT, so it can tell which conversation's strip to list. tmux is asked for the pane once, the first time a folder runs a program, so opening the palette costs nothing extra. A top-level menu entry named tmux is now the folder that tmux's rows join, so a strip entry can go on the screen Ctrl+B opens to.

Tests cover the nested folder, the environment a folder program gets, and the menu's tmux entry joining tmux's rows. Nothing uses these changes until the strip menu entry is added, after tmux-strip (PR 3 of 3) ships.

Work package: https://openproject.romaine.life/wp/TMUX-206 PR 2 of 3. This lets a menu folder whose rows come from a program have folders of its own: a row whose action is `folder:<command>` opens as a folder of that command's rows. That is how the strip's tree (strip, follow-ups, one follow-up, its commands) gets into the Ctrl+B palette. In the popup, a folder's program also gets the tab's active pane as `TMUX_PANE` and the popup's client as `TMUX_CLIENT`, so it can tell which conversation's strip to list. tmux is asked for the pane once, the first time a folder runs a program, so opening the palette costs nothing extra. A top-level menu entry named `tmux` is now the folder that tmux's rows join, so a `strip` entry can go on the screen Ctrl+B opens to. Tests cover the nested folder, the environment a folder program gets, and the menu's `tmux` entry joining tmux's rows. Nothing uses these changes until the `strip` menu entry is added, after `tmux-strip` (PR 3 of 3) ships.
TMUX-206 Folders inside command folders; folder programs learn the tab; menu entries inside the tmux folder
All checks were successful
CI / go-linux (pull_request) Successful in 1m38s
CI / go-windows (pull_request) Successful in 2m32s
Build / windows (pull_request) Successful in 2m45s
Release / release (pull_request) Successful in 23s
CI / test (pull_request) Successful in 5s
Build / built (pull_request) Successful in 4s
Build / pcs (pull_request) Has been skipped
Build / prune-releases (pull_request) Has been skipped
Build / home-sync (pull_request) Successful in 0s
0a48f6849d
A command folder's row whose action is folder:<command> is a folder of that command's rows, read again each time it is entered. In the popup, a folder's program gets the tab's active pane as TMUX_PANE and the popup's client as TMUX_CLIENT. A top-level menu entry named tmux is the folder tmux's rows are grafted into, so menu entries can sit beside them.
nelson merged commit 1a531453c8 into main 2026-11-12 23:50:16 -08:00
nelson deleted branch TMUX-206-strip-folder 2026-11-12 23:50:16 -08:00
Sign in to join this conversation.
No description provided.