TMUX-206 Folders inside command folders, and menu entries in the tmux folder #91
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/fzt-automate!91
Loading…
Reference in a new issue
No description provided.
Delete branch "TMUX-206-strip-folder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_PANEand the popup's client asTMUX_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 namedtmuxis now the folder that tmux's rows join, so astripentry can go on the screen Ctrl+B opens to.Tests cover the nested folder, the environment a folder program gets, and the menu's
tmuxentry joining tmux's rows. Nothing uses these changes until thestripmenu entry is added, aftertmux-strip(PR 3 of 3) ships.