Summary
Claude Code's TUI collapses any pasted text into a [Pasted text #1 +N lines] placeholder. There's no setting to raise/lower the threshold or disable the behavior. Please add a pasteCollapseThreshold setting (line count, with 0 or false to disable collapsing entirely).
Motivation
The collapse behavior makes sense for large pastes, but it's painful in two real workflows:
- Voice dictation tools (Wispr Flow, Whisper-based dictation, etc.) insert text via the system paste buffer. Even a 3–4 line dictation gets collapsed, so I can't see or proofread what was inserted before submitting. My current workaround is pressing
Ctrl+G to pop the prompt into $EDITOR on every dictation — real friction when dictation is supposed to be the fast path.
- Multi-line prompts composed in another editor and pasted in for a final once-over. I want to see them, not a placeholder.
Proposed setting
{
"pasteCollapseThreshold": 20
}
- Integer: collapse pastes ≥ N lines, show shorter pastes inline.
0 or false: never collapse — always show pasted text inline.
- Default: current behavior (whatever the hardcoded threshold is today).
Alternative
A keybinding action like chat:expandPaste that toggles a single collapsed paste block in place would also solve case #1 — though a setting is simpler and serves both cases.
Environment
- Claude Code CLI on macOS
- Used heavily with Wispr Flow voice dictation
Summary
Claude Code's TUI collapses any pasted text into a
[Pasted text #1 +N lines]placeholder. There's no setting to raise/lower the threshold or disable the behavior. Please add apasteCollapseThresholdsetting (line count, with0orfalseto disable collapsing entirely).Motivation
The collapse behavior makes sense for large pastes, but it's painful in two real workflows:
Ctrl+Gto pop the prompt into$EDITORon every dictation — real friction when dictation is supposed to be the fast path.Proposed setting
{ "pasteCollapseThreshold": 20 }0orfalse: never collapse — always show pasted text inline.Alternative
A keybinding action like
chat:expandPastethat toggles a single collapsed paste block in place would also solve case #1 — though a setting is simpler and serves both cases.Environment