{"version":"2.1.260","anchor":"stdin-key-parsing-loop-rewritten-as-pure-functions","canonical_anchor":"stdin-key-parsing-loop-rewritten-as-pure-functions","heading":"Stdin key-parsing loop rewritten as pure functions","tier":"internal","area":"Terminal UI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260\/e\/stdin-key-parsing-loop-rewritten-as-pure-functions","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260","markdown":"### Stdin key-parsing loop rewritten as pure functions\n\nStdin key-parsing was rewritten as pure functions, functionally equivalent.\n\nThe 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.\n\n- Area: Terminal UI\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}