[BUG] Desktop app: copying a text selection from an assistant message copies the entire message
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?
In the Claude Code desktop app on Windows 11, selecting a portion of text inside an assistant message and copying it (Ctrl+C or right-click > Copy) puts the FULL message content in the clipboard instead of just the selection.
Real-world impact: the assistant drafted a short message for me to send on a marketplace chat, surrounded by private advice. I selected only the draft, copied, pasted and sent - and the entire assistant response (including the private negotiation advice) was pasted and sent to the other party.
Possibly related: #73817 reports the same whole-message copy behavior on macOS via right-click > Copy (Cmd+C works there). On Windows, Ctrl+C is affected too.
What Should Happen?
Copying should respect the user's text selection: only the highlighted text should be placed in the clipboard.
Error Messages/Logs
Steps to Reproduce
Open the Claude Code desktop app (Windows 11).
Send any prompt so the assistant replies with a multi-paragraph message.
With the mouse, select only a small portion of the assistant's reply.
Press Ctrl+C (or right-click > Copy).
Paste anywhere (Ctrl+V): the entire assistant message is pasted, not just the selected portion.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Desktop app 1.18286.0.0 (Windows, Microsoft Store build)
Platform
Other
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_