|
| 1 | +--- |
| 2 | +version: 0.1.0-rc.7 |
| 3 | +date: 2026-07-23 |
| 4 | +channel: next |
| 5 | +title: Pick your next step with the arrow keys |
| 6 | +summary: The post-scan menu now works the way a modern CLI should — move a highlighted cursor with the arrow keys and confirm with Enter, instead of typing option numbers. The agent handoff starts highlighted so a single Enter copies the plan, Esc keeps just the score, and everything degrades gracefully on minimal terminals. Zero new dependencies, and automation surfaces are untouched. |
| 7 | +highlights: |
| 8 | + - Arrow keys (or vim-style j/k) move an in-place highlighted cursor with wrap-around; Enter confirms. |
| 9 | + - The handoff option starts highlighted — one Enter copies the remediation plan to your clipboard. |
| 10 | + - Esc or q keeps just the score; number keys still work as instant shortcuts; Ctrl+C always restores the terminal. |
| 11 | + - Terminals without raw-mode support keep the numbered prompt, and CI, pipes, --json, and --prompt are byte-identical. |
| 12 | +--- |
| 13 | + |
| 14 | +## A menu you can feel |
| 15 | + |
| 16 | +Typing `1` and pressing Enter worked, but it read as a form. The menu now |
| 17 | +renders a live cursor: arrows or `j`/`k` move it (wrapping at the ends), |
| 18 | +Enter confirms, and the row highlight follows you without the report above |
| 19 | +ever scrolling. The old number keys still act as instant shortcuts, so |
| 20 | +nothing you learned in rc.6 is wasted. |
| 21 | + |
| 22 | +## One keypress to the handoff |
| 23 | + |
| 24 | +The agent handoff is why the menu exists, so it starts highlighted — a bare |
| 25 | +scan followed by a single Enter puts the paste-ready remediation plan on |
| 26 | +your clipboard and prints it. Pressing `Esc` (or `q`) dismisses the menu and |
| 27 | +keeps just the score, which the hint line below the menu spells out. |
| 28 | + |
| 29 | +## Careful with your terminal |
| 30 | + |
| 31 | +Raw-mode input is easy to get wrong, so the selector treats restoration as a |
| 32 | +contract: raw mode, the cursor, and key listeners are restored on selection, |
| 33 | +escape, interrupt, and error alike — Ctrl+C hands the terminal back before |
| 34 | +forwarding the signal. Minimal terminals without raw-mode support fall back |
| 35 | +to the rc.6 numbered prompt, `NO_COLOR` and non-unicode environments get a |
| 36 | +plain ASCII pointer, and no new dependencies were added for any of it. |
0 commit comments