Remove hard wrap when copying?
Resolved 💬 3 comments Opened Feb 23, 2026 by Daniel15 Closed Feb 23, 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 copying and pasting from Claude Code, is there a way to make it not wrap the text (so that long lines stay as one line)? It behaves differently to most other console apps, and hard wraps the text rather than soft wrapping it.
What Should Happen?
Copied text does not have line breaks in it.
Error Messages/Logs
Steps to Reproduce
- Enter a prompt that wraps to the next line, or get Claude to respond with a long response
- Copy and paste it into a text editor
- Notice that there are line breaks in the output
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.32
Platform
Other
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗