Skip to content

feat(fleet-tui-poc): arrow-nav context menu + paste row parity with bash sister#144

Merged
NagyVikt merged 1 commit into
mainfrom
agent/claude/pane-menu-arrow-nav-cursor-2026-05-16-01-11
May 15, 2026
Merged

feat(fleet-tui-poc): arrow-nav context menu + paste row parity with bash sister#144
NagyVikt merged 1 commit into
mainfrom
agent/claude/pane-menu-arrow-nav-cursor-2026-05-16-01-11

Conversation

@NagyVikt
Copy link
Copy Markdown
Contributor

Automated by gx branch finish (PR flow).

…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.
@NagyVikt NagyVikt merged commit 2534d43 into main May 15, 2026
@NagyVikt NagyVikt deleted the agent/claude/pane-menu-arrow-nav-cursor-2026-05-16-01-11 branch May 15, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant