[BUG] CLI output formatting artifacts break copy/paste - workarounds waste tokens
## Summary Claude Code CLI adds formatting artifacts to ALL output that break copy/paste workflows: - **2-space leading indentation** on every line - **Hard line breaks at ~80 characters** (breaks words mid-character) These artifacts are included when copying text, requiring manual cleanup for every paste operation. ## Environment - **Platform:** WSL2 on Windows 11 (also reported on macOS, native Linux) - **Claude Code Version:** 2.0.x - **Terminal:** Various (Windows Terminal, iTerm, Terminal.app) ## Reproduction 1. Run any Claude Code session 2. Have Claude output multi-line text (commands, code, prose) 3. Copy the output to clipboard 4. Paste into a plain text editor **Expected:** Clean text matching what Claude generated **Actual:** Text has 2-space indent on each line + hard breaks at ~80 chars ## Impact ### Workflow Disruption Every copy/paste requires cleanup: - VSCode: Select all → Shift+Tab to remove indent - Manual deletion of unwanted line breaks - Commands fail silently when pasted (extra spaces/breaks) ### Token Cost of Workarounds Users have resorted to adding prompts in CLAUDE.md memory files like: > "Use `\` line continuations for commands to survive copy/paste" These workarounds **consume tokens on every session**. Users are paying (in tokens and context window) to work around a rendering bug. Across the user base, this adds up significantly. ### Community Workarounds Shouldn't Be Necessary Tools like [`claude-fix`](https://github.com/freyjay/clau
Posted by pentafive on Dec 23, 2025, 11:03 PM
Tags
Related issues
- In the UK Amazon have now raised the price of general shipping to be 2/3 the price of a months prime subscription.
- Credit where credit is due, critics claiming "[Apple device] is too expensive for something that just does [basic function]" have been pr...
- I like to buy music.
- Meet K-Claw.
- Fable is way too expensive for basic software stuff.
- [Meta] Abnormal Codex usage/quota depletion and usage-accounting inconsistencies — cross-report tracker
Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments
pricing (SaaS)
In the UK Amazon have now raised the price of general shipping to be 2/3 the price of a months prime subscription.
Credit where credit is due, critics claiming "[Apple device] is too expensive for something that just does [basic function]" have been pr...
I like to buy music.
Meet K-Claw.
Fable is way too expensive for basic software stuff.
[Meta] Abnormal Codex usage/quota depletion and usage-accounting inconsistencies — cross-report tracker
[FEATURE] Passkey (WebAuthn) sign-in for Claude accounts, across every surface
> How are Chinese companies financing their buildouts of AI infrastructure?
[BUG] CLI output formatting artifacts break copy/paste - workarounds waste tokens
## Summary Claude Code CLI adds formatting artifacts to ALL output that break copy/paste workflows: - **2-space leading indentation** on every line - **Hard line breaks at ~80 characters** (breaks words mid-character) These artifacts are included when copying text, requiring manual cleanup for every paste operation. ## Environment - **Platform:** WSL2 on Windows 11 (also reported on macOS, native Linux) - **Claude Code Version:** 2.0.x - **Terminal:** Various (Windows Terminal, iTerm, Terminal.app) ## Reproduction 1. Run any Claude Code session 2. Have Claude output multi-line text (commands, code, prose) 3. Copy the output to clipboard 4. Paste into a plain text editor **Expected:** Clean text matching what Claude generated **Actual:** Text has 2-space indent on each line + hard breaks at ~80 chars ## Impact ### Workflow Disruption Every copy/paste requires cleanup: - VSCode: Select all → Shift+Tab to remove indent - Manual deletion of unwanted line breaks - Commands fail silently when pasted (extra spaces/breaks) ### Token Cost of Workarounds Users have resorted to adding prompts in CLAUDE.md memory files like: > "Use `\` line continuations for commands to survive copy/paste" These workarounds **consume tokens on every session**. Users are paying (in tokens and context window) to work around a rendering bug. Across the user base, this adds up significantly. ### Community Workarounds Shouldn't Be Necessary Tools like [`claude-fix`](https://github.com/freyjay/clau
Comments (0)
No comments yet. Start the discussion.