You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When copying text from my own chat input in Claude Code, extra formatting characters (spaces and vertical bars) are added to the copied text, making it impossible to reuse previously typed commands or text.
Steps to Reproduce
Type a multiline command or text in the Claude Code chat input box
don't Send the message
Try to copy the text from your own input in the chat window
Paste the copied text into a text editor or terminal
Expected Behavior
The copied text should be exactly what was typed, without any additional formatting characters, spaces, or vertical bars.
Actual Behavior
The copied text includes:
Extra spaces at the beginning of lines
Vertical bars (|) or other formatting characters
Additional whitespace that wasn't in the original input
Example:
Original typed: npm start
What gets copied: | npm start or similar with extra formatting
Additional Context
This issue makes it very difficult to reuse commands from chat window
Environment
Bug Description
When copying text from my own chat input in Claude Code, extra formatting characters (spaces and vertical bars) are added to the copied text, making it impossible to reuse previously typed commands or text.
Steps to Reproduce
Expected Behavior
The copied text should be exactly what was typed, without any additional formatting characters, spaces, or vertical bars.
Actual Behavior
The copied text includes:
Example:
Original typed:
npm startWhat gets copied:
| npm startor similar with extra formattingAdditional Context