Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.260 ·

Stdin key-parsing loop rewritten as pure functions

Stdin key-parsing was rewritten as pure functions, functionally equivalent.

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaTerminal UIwhat it touches
KindInternal Changesin v2.1.260,
Under the hood

Stdin key-parsing was rewritten as pure functions, functionally equivalent.

The terminal input reader's handling of incomplete escape sequences, including mouse-prefix drop timers, paste mode, and byte-run deadlines, has been refactored from mutable instance-method state into pure functions that thread an explicit reader state object. This centralizes logic previously duplicated between flushIncomplete and processInput and is functionally equivalent.

See this entry in the whole of v2.1.260 →

Feedback