Cannot copy multi-line text from responses due to UI tab indentation
Problem
When Claude produces a multi-line text block (e.g. a bug report, commit message, or email draft) intended for pasting into an external tool, the text is rendered inside a tabbed panel in the UI. Selecting and copying the text picks up leading tab/whitespace characters from the UI layout, which corrupts the content when pasted elsewhere.
This is particularly bad for structured text like bug reports, where indentation and formatting matter and the destination editor does not strip the extra whitespace.
Steps to reproduce
- Ask Claude to write a multi-line comment or report (e.g. "write a bug report I can paste into Launchpad").
- Claude outputs the text as a plain prose block (not a code block).
- Try to select and copy the text from the Claude Code UI.
- Paste into any external editor or web form.
Result: Extra tab characters appear at the start of lines, or the indentation structure is broken.
Workaround
The only current workaround is to ask Claude to write the content to a /tmp file and then open it in a text editor — which is friction that should not be necessary.
Expected behaviour
Text in Claude's responses should be copyable as-is, without UI layout artefacts polluting the clipboard content.
Environment
- Claude Code CLI
- Platform: Linux (Ubuntu 25.10)