Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Pasting shell commands into the prompt is cleaned up, with a hint when you miss the !

Pasting into an empty shell-mode prompt drops two leading spaces per line, and pasting a copied ! command outside shell mode shows a hint

You'll notice Improvements
JSON All of v2.1.337
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Prompt InputArea: what it touches
ImprovementsKind: in v2.1.337,
ImprovementsSection of the release
What

Typing ! at the start of the prompt puts it in shell mode, where what you type runs as a terminal command instead of going to Claude. Pasting into that prompt behaves differently now:

  • Pasting into an empty prompt in shell mode removes two leading spaces from the start of each pasted line.
  • Pasting text that starts with two spaces and then ! outside shell mode shows the hint "To run a copied command, type ! before you paste it".

The prompt box also now keeps track of edits made by keystrokes, so that undo can group them together.

Why

Commands copied from documentation or chat are often indented or carry the ! in front. These changes stop that extra text from breaking the command, and tell you how to run it when it would otherwise be sent to Claude as a message.

See this entry in the whole of v2.1.337 →

Feedback