A pick in the Ctrl+T Ctrl+A tab becomes the pane's program #57

Merged
nelson merged 1 commit from run-tab-respawns-pick into main 2026-11-10 22:29:28 -08:00
Owner

Work package: https://openproject.romaine.life/wp/FZTA-12 (also TMUX-143: https://openproject.romaine.life/wp/TMUX-143)

In tmux, fzt-automate --run now restarts its own pane as the pick (respawn-pane -k, with the argv the popup's takeover gives new-window) instead of running it as the menu's child, so the pane's start command is the pick's and reload-app and a session-set restore bring back the pick, not the menu. An at command not yet moved off PowerShell gets its takeover's AT_PICK and @session-set-shell mark; outside tmux, picks run in place as before.

Checked on a throwaway server: a program pick and an old-command pick each became their pane's start command, and respawn-pane -k brought them back. Found on the way, not changed here: a pick that can't start shows no reason on screen (https://openproject.romaine.life/wp/FZTA-13), same on v0.1.101.

Work package: https://openproject.romaine.life/wp/FZTA-12 (also TMUX-143: https://openproject.romaine.life/wp/TMUX-143) In tmux, `fzt-automate --run` now restarts its own pane as the pick (`respawn-pane -k`, with the argv the popup's takeover gives `new-window`) instead of running it as the menu's child, so the pane's start command is the pick's and `reload-app` and a session-set restore bring back the pick, not the menu. An at command not yet moved off PowerShell gets its takeover's `AT_PICK` and `@session-set-shell` mark; outside tmux, picks run in place as before. Checked on a throwaway server: a program pick and an old-command pick each became their pane's start command, and `respawn-pane -k` brought them back. Found on the way, not changed here: a pick that can't start shows no reason on screen (https://openproject.romaine.life/wp/FZTA-13), same on v0.1.101.
A pick in the Ctrl+T Ctrl+A tab becomes the pane's program (FZTA-12)
All checks were successful
Release / release (pull_request) Successful in 15s
Dependency Update / update (pull_request) Successful in 37s
Build / windows (pull_request) Successful in 39s
CI / go-windows (pull_request) Successful in 41s
Build / built (pull_request) Successful in 1s
Build / pcs (pull_request) Has been skipped
Build / home-sync (pull_request) Successful in 0s
CI / go-linux (pull_request) Successful in 50s
CI / test (pull_request) Successful in 1s
2b29cf2f62
In tmux, fzt-automate --run restarts its own pane as the pick with
respawn-pane -k, started as the popup's takeover starts one, instead of
running it as the menu's child. The pane's start command is then the
pick's, so reload-app and a session-set restore bring back the pick.
nelson merged commit 54c905de51 into main 2026-11-10 22:29:28 -08:00
nelson deleted branch run-tab-respawns-pick 2026-11-10 22:29:28 -08:00
Sign in to join this conversation.
No description provided.