feat(fleet-tui-poc): arrow-nav context menu + paste row parity with bash sister#144
Merged
NagyVikt merged 1 commit intoMay 15, 2026
Conversation
…ash sister
Brings the rust overlay to behavioural parity with
scripts/codex-fleet/bin/pane-context-menu.sh:
- Flattens render_context_menu into a CtxItem list with section/disabled
flags so the renderer + arrow-nav walk the same sequence.
- Probes tmux #{window_panes} / #{pane_marked_set} on overlay open and
disables zoom/swap rows when single-pane / nothing marked.
- Arrow keys wrap around and skip disabled rows; Enter dispatches the
focused item; letter hotkeys keep the existing short-circuit path.
- Selected row renders with IOS_TINT fg + UNDERLINED, matching the
bash menu's focus glyph.
- New "Paste from clipboard" row sits between the copy and scroll
sections; new p arm in context_menu_tmux_args wires it to a tmux
run-shell wl-paste pipeline. Image-aware paste stays in the bash
impl for now (noted inline).
- Footer hint reads up/down move, enter select, letter hotkey, esc cancels.
Verification: cargo check, cargo build --release, and cargo test all
pass clean with no new warnings beyond the pre-existing dead
ctx_menu_items field.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated by gx branch finish (PR flow).