Allow viewing and editing collapsed pasted text before submission

Resolved 💬 3 comments Opened Mar 11, 2026 by mattpodolak Closed Mar 15, 2026

Problem

When pasting text into Claude Code's TUI, it collapses into a stub like [Pasted text...]. There is currently no way to:

  • View the full pasted content before submitting
  • Edit the pasted text before submitting
  • Expand the stub inline

This makes it difficult to verify or correct pasted content before sending it to Claude.

Suggested Solution

  • A keyboard shortcut (e.g., Ctrl+E) to expand/collapse pasted text inline
  • Or allow Ctrl+G (open in editor) to include pasted text content so it can be reviewed/edited
  • Optionally, a configurable threshold for when text gets collapsed

Workarounds

Currently the only options are:

  1. Use Ctrl+G before pasting (type prompt first, then paste in external editor)
  2. Save text to a file first and reference it

Neither is ideal for quick paste-and-edit workflows.

View original on GitHub ↗

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