Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.239 Home All releases olderv2.1.238 v2.1.240newer
Claude Code v2.1.239

Readline-style word motion and a kill ring in the text input

Use it now
Useful4 Signal2
Text Input

The prompt box gained readline word motions and a kill ring on Meta-Backspace, Meta-d and Ctrl-D.

What

The prompt input gained a second set of word motions modelled on readline: forward and backward word movement, kill-word and backward-kill-word, wired to Meta-Backspace, Meta-d and Ctrl-D, with killed text pushed onto a kill ring rather than simply deleted. The older word-motion behaviour is still present for the other mode.

Details
  • Word boundaries for the new mode come from a separate cache with readline's boundary rules, kept alongside the existing one.
  • Meta-d appends the killed word to the kill ring with a direction, so successive kills accumulate.
  • The check that interrupts on keypress now runs before the early return for control keys.
  • Which of the two modes is active is decided by an internal boolean that does not trace to any setting or command-line flag in this build.
Evidence

getReadlineWordBoundaries, killWord

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.239 →