Feedback rating number sent to conversation instead of being captured by popup
Description
When the "How is Claude doing this session?" feedback popup appears, pressing a number key (e.g. 3) is sent to the conversation as a user message instead of being captured by the feedback rating widget. The rating is not recorded.
Steps to reproduce
- Have a conversation with Claude Code CLI
- Wait for the feedback popup to appear
- Press a number key (e.g.
3) to rate the session - The number appears as a user message in the conversation
Expected behavior
The number should be captured by the feedback popup as a rating and not appear in the conversation.
Additional context
This may be the inverse of #38833, where the feedback popup was capturing numeric input intended for the conversation. Note that some of the comments on that issue are actually describing this issue, not the one in #38833's bug description. So both issues exist simultaneously.
The fundamental problem seems to be that a CLI doesn't really have multiple input contexts; to be unambiguous you would either need the user to click something with the mouse, or use a syntax that distinguishes this response from conversation input. Also see #8743 ("stop stealing focus to ask me to type 1, 2 or 3") and #13357 ("Numbered feedback prompts conflict with numbered user responses"). It seems like bugs about this problem keep getting closed as "not planned" which is frankly not helpful. We know you want this feedback information, but the current interface approach sucks.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗