You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Prompt InputArea: what it touches
Bug FixesKind: in v2.1.271,
Bug FixesSection of the release
What
When a prompt that was queued or handed back (such as during a compact operation) gets resubmitted, Claude Code restores its draft state, including anything that was pasted into it. Previously, the function responsible for restoring pasted content, setPastedContents, did nothing; it now actually writes the pasted content back into the draft.
Why
Before this fix, pasted content (like a block of text or code pasted into the prompt) could be silently lost when a prompt was queued or handed back and then resubmitted. Now it is preserved correctly.