[BUG] AskUserQuestion freezes when Claude started with prompt argument (Windows, v2.1.30)
Resolved 💬 3 comments Opened Feb 4, 2026 by toledoesilva Closed Mar 5, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
AskUserQuestion freezes (can't select options, can't type, Ctrl+C/Esc don't work) when Claude is started with an initial prompt argument.
What Should Happen?
Should be able to interact with the question
Error Messages/Logs
Steps to Reproduce
- Run:
claude --model opus "Use AskUserQuestion to ask what color I like" - AskUserQuestion appears but input is frozen
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.29
Claude Code Version
2.1.30
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
Start Claude interactively (claude --model opus), then type the prompt manually - this works.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗