claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Only one long paste is supported per prompt.

Open AnthonyRonning opened this issue 1 year ago • 6 comments

Why break this? It was working perfect previously. Especially given that a TUI is not the easiest way to do text entry, I just can't wrap my head around why you want to all of a sudden limit this?

Image

AnthonyRonning avatar Apr 19 '25 17:04 AnthonyRonning

Claude Code actually never supported multiple "long" pastes within a single prompt (short pastes that don't lead to "[Pasted text +.. lines]" are fine). Multiple long pastes would appear to work but fail silently, as Claude Code would keep only the most recent long paste. This warning now informs users of the limitation.

dicksontsai avatar Apr 22 '25 22:04 dicksontsai

My appologies, had no idea this wasn't working. Makes me wonder all the times I've done it before 😅

AnthonyRonning avatar Apr 23 '25 16:04 AnthonyRonning

adding proper support for multiple long pastes would still be very useful

GBurgardt avatar Apr 26 '25 01:04 GBurgardt

This feels like a pretty basic limitation of Claude’s code capabilities. Sometimes I need to include multiple sources in my prompts, but I have to combine them externally before pasting them in, which is really awkward.

derekbking avatar May 06 '25 12:05 derekbking

The good news is that as of v0.2.102, Claude Code now supports pasting in multiple chunks! (Text and/or images, from pasting in image paths)

dicksontsai avatar May 06 '25 15:05 dicksontsai

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 09 '25 14:08 github-actions[bot]