[Bug] AskUserQuestion picker with previews unresponsive to keyboard input in auto mode
Bug Description
AskUserQuestion picker with option previews is completely unresponsive to keyboard input while the session is in auto mode.
Version: 2.1.237 (also reproduced on 2.1.233)
Platform: macOS 24.6.0 (darwin, arm64), iTerm2, real TTY at 61x281
REPRO
1. Put a session in auto mode.
2. Have the model call AskUserQuestion with a single-select question whose options carry preview content (the side-by-side layout).
3. Press Enter, arrow keys, or digits. Nothing happens. The only way out is Ctrl+C.
The same question shape answers instantly in manual/plan mode.
EVIDENCE (37 AskUserQuestion calls across my local transcripts)
mode previews answered hung
auto yes 1 4 <-- 80% failure
auto no 25 1
default yes 1 0
plan yes 4 0
plan no 1 0
Previews alone are not the trigger (4/4 fine in plan mode).
Auto mode alone is not the trigger (25/26 fine without previews).
Only the combination fails.
RULED OUT
- Terminal size: the frame fits easily in 61 rows.
- Host surface: reproduced in plain iTerm on a real TTY, not just the desktop app or an IDE panel.
- Input delivery: Ctrl+C IS processed and logs the interrupt, so stdin is being read. The picker receives input and ignores it.
A/B CONFIRMATION
The identical picker (single-select, 3 options, all with previews) hung twice in auto mode, then accepted Enter immediately after Shift+Tab into manual mode.
WORKAROUND
Shift+Tab out of auto mode; the picker then responds normally.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.237
- Feedback ID: 0e041b87-4692-42ce-b772-4f0c6bcd2f4d
Errors
[]