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

Half-received mouse reports no longer corrupt typed input

You'll notice
Useful4 Signal1
Terminal Input

A half-received mouse report is now discarded instead of dumping stray characters into your prompt.

What

The terminal input parser can now recognise a partial mouse sequence, wait briefly, and discard it if the rest never arrives, instead of letting the leftover characters land in your prompt.

Details
  • The parser tracks a dropped-prefix state with its own expiry deadlines and matches an incomplete escape sequence.
  • Click dispatch now reports one of three outcomes, handled, unhandled or stray, with a flag marking a click dropped as stray.
  • Click events carry a field indicating the click merely activated the terminal window, so a focus click can be told apart from a real one.
Evidence

droppedAsStray

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 →