[BUG] Message starting with a number sends wrong option selection instead of text

Resolved 💬 2 comments Opened Mar 29, 2026 by nkovalcin Closed Mar 29, 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?

When Claude presents numbered options (e.g. 1, 2, 3, 4) and the user types a message
that starts with a number (e.g. "4"), pressing Enter submits option "1" instead of
sending the typed message as text.

Steps to reproduce:

  1. Ask Claude something that results in numbered options being presented
  2. Type a message starting with a number (e.g. "4" or "4. something")
  3. Press Enter
  4. The message sent is "1" (option 1) instead of the typed text

Expected: message starting with "4" is sent as normal text
Actual: option "1" is selected/sent instead

What Should Happen?

Message starting with a number should be sent as plain text, not interpreted as option selection

Error Messages/Logs

Steps to Reproduce

  1. Ask Claude to present numbered options (e.g. "give me 4 options")
  2. Type a message starting with a number (e.g. "4")
  3. Press Enter
  4. Instead of sending "4" as text, option "1" is selected and sent

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.63

Platform

Other

Operating System

macOS

Terminal/Shell

Other

Additional Information

Reproduced in Claude Code Desktop App (macOS), not CLI terminal.
The bug occurs when Claude presents numbered options and the user
types a reply starting with a digit — the digit is intercepted as
an option selector instead of being treated as message text.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗