Feature request: Config option to control text wrapping in terminal output
Problem
When Claude Code renders long lines of text, it inserts hard line breaks at the terminal column width. When users copy this text to paste elsewhere (LinkedIn, Twitter, email, etc.), those hard breaks are preserved and break the formatting mid-sentence.
Example: A single-line dialogue like:
CMO: it's more about improvement than a specific number. in theory, every Brand can use more new customer acquisition contribution dollars at an ever-increasing contribution margin.
Gets wrapped mid-line and when pasted into LinkedIn shows as:
CMO: it's more about improvement than a specific number. in theory, every Brand can use more new customer acquisition contribution dollars at an ever-increasing contribution margin.
Current Workaround
- Write to a file, open in TextEdit, copy from there
- Pipe to
pbcopyvia Bash tool
Both work but add friction to a common workflow (drafting prose/social content in Claude Code).
Proposed Solution
Any of these would solve it:
/copycommand — copies the last assistant output to clipboard without hard wraps- Config option (
outputWrapping: "soft") — lets terminal handle wrapping natively instead of inserting newlines - Click-to-copy on output blocks — similar to how code blocks have copy buttons
Use Case
Drafting social media posts, emails, Slack messages, or any prose content in Claude Code that needs to be pasted elsewhere cleanly. This is increasingly common as Claude Code becomes a general-purpose assistant, not just a code editor.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗