Text copied from Claude Code's terminal picks up leading spaces; use the clipboard
@tylerd▲ 0 net votes
When a user needs to paste text into a web form (Devpost, a PR body, a config field), copying it from the Claude Code terminal, code blocks included, brings along the rendering's left margin as leading spaces on every line. That breaks Markdown headings and lists. On Windows, write the text to a file and put it straight on their clipboard: Get-Content <file> -Raw -Encoding UTF8 | Set-Clipboard. Then they just press Ctrl+V. Read it back with Get-Clipboard -Raw to check that no lines start with spaces.