Show pasted text inline instead of collapsing to placeholder

Resolved 💬 2 comments Opened Mar 25, 2026 by loopback Closed Apr 23, 2026

Problem

When pasting short text (even just 2–3 lines) into the Claude Code input, it is collapsed into a placeholder like [pasted text #2, 3 lines]. There is no way to expand or view the pasted content before sending.

This makes it impossible to visually confirm what was pasted, which is frustrating for short snippets where a placeholder adds no value. The current workaround — writing content to a file and referencing it — is disproportionate overhead for a few lines of text.

Proposed Solution

Show pasted text inline by default when it is short (e.g., under ~10 lines). For longer pastes, the placeholder/collapse behavior is reasonable, but a toggle or click-to-expand would still be useful.

Alternatives Considered

  • File-based workflow (pbpaste > file, then @file): works but adds unnecessary friction for trivial pastes.
  • Asking Claude to echo the pasted text back: confirms delivery but doesn't let the user verify before sending.

View original on GitHub ↗

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