Checklists and --pane in fzt (FT-11) #112
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-verification
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-terminal!112
Loading…
Reference in a new issue
No description provided.
Delete branch "ft-11-checklist"
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?
PR 2 of 2 for https://openproject.home.romaine.life/wp/FT-11: a checklist any Claude session can hand Nelson, with his choices going back to the session that asked. PR 1 (romaine-life/fzt#26) added checkbox folders to the engine (fzt v0.2.120).
fztflags: with--tiered,--checklist-col Nmakes a folder whose field N is set a checkbox folder, and--ticked-col Nticks a row as the menu opens. Picking any other row prints that pick, then each ticked row, a line each.--pane: opens fzt in a tmux split under the caller's pane (TMUX_PANE) and returns the answer and exit code as if fzt had run in place. That way a session with no terminal of its own can ask Nelson. It waits on the split's process handle, so there's no polling. If the caller ends first, the split closes itself and removes its folder. Arguments are quoted for the Windows tmux, as fzt-automate'stmuxProgramdoes. Windows only.Nothing changes for a menu without a checkbox folder. Tested on a test tmux server: ticking, a pick returning the ticked rows, Esc (130), a split killed by hand (2, "closed without an answer"), and the caller killed (the split closes and its folder is removed). Nelson tried the same build in a split in his own window.