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.