Copied text includes terminal line-wrap breaks (mid-sentence newlines)

Resolved 💬 3 comments Opened Apr 5, 2026 by misakiniinomi Closed Apr 8, 2026

Description

When copying text from Claude Code's terminal output and pasting into another application (e.g., Outlook), the visual line wraps in the terminal are included as actual newline characters. This causes text to break at non-sentence boundaries, making the copied text hard to use.

Steps to Reproduce

  1. Ask Claude to generate a paragraph of text (e.g., an email draft)
  2. Copy the output from the terminal
  3. Paste into Outlook or another text editor

Expected Behavior

Only intentional paragraph breaks should be preserved. Visual line wraps (caused by terminal column width) should not become hard newlines when copied.

Actual Behavior

Text breaks mid-sentence wherever the terminal wrapped the line, e.g.:

...getting close to April 6 — how are the
four Hack Pack items coming along?...

Environment

  • Platform: Windows 11
  • Shell: bash (Claude Code CLI)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗