[BUG] Why when I click in your window when you are waiting for an answer seem to initiate as if I have made a selection. This was not happening before.
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 is waiting for an answer from a selection, clicking in the window to set focus is interpreted as an entry, I think as an enter, so it makes a selection
What Should Happen?
Should alllow me to set the focus by clicking in the Claude window, your suggestion is click the title bar for the time being.
Error Messages/Logs
I don't have visibility into your terminal's raw mouse-event stream, so I can't be fully certain, but the likely explanation ties back to your setup: you connect via RDP into a WSL2 desktop to run this terminal.
Here's the mechanism: the interactive picker listens for terminal mouse-click events (via ANSI mouse reporting) so you can click an option directly instead of using arrow keys. Normally, when a terminal window is unfocused and you click it just to bring it forward, the OS/window manager swallows that first click — it only refocuses the window, and the click itself never reaches the running program. Over RDP, that distinction often breaks down: the remote session can forward the focusing click straight through as a real mouse event at that screen position, which the picker then reads as "the user clicked option at this row" — even though you only meant to focus the window.
That would explain why it wasn't happening earlier in the session (the window likely had continuous focus then) but started once the window had to be refocused — e.g. after switching away and clicking back in.
For now: avoid clicking inside the window at all while a prompt is open — use arrow keys + Enter to select, and if you need to refocus first, click the title bar rather than inside the content area, then switch to keyboard. I'll also keep defaulting to plain-text questions instead of the picker for you going forward. If you want this properly diagnosed/fixed, it's worth reporting at https://github.com/anthropics/claude-code/issues with your terminal app and the fact that it's RDP→WSL2 — that's exactly the kind of detail that'd help reproduce it.
Steps to Reproduce
Run RDP from windows 11, logged in to ubuntu v26, go to project folder run vscode using the bash terminal. Create a bash terminal in vscode and run claude. When claude waits for a selction from an options list, clicking in the main window to set focus is mistaken for a selection.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.191 Sonnet 4.6 · Claude Pro
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗