[BUG] Regression: Approval/Options via Question tool - Numeric entry now treated as text entry instead of selection
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?
Previously, when Claude Code asked questions/requested approval with numeric options one could press the associated number to choose the option. Now this is treated instead as wishing to edit the option, whereby the first press (i.e. of 2) results in edit mode and if repeating would add a "2" as if one had pressed tab (for edit mode) + 2.
What Should Happen?
Claude should choose/confirm the response associated with the number.
Error Messages/Logs
Steps to Reproduce
1) Get Claude Code to either request approval or ask a question
2) Respond by using the number on your keyboard, previously this would choose an option - now it does not.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.50 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗