{"version":"2.1.334","anchor":"terminal-input-drain-helper","canonical_anchor":"terminal-input-drain-helper","heading":"Claude Code can discard stray typing until the keyboard goes quiet","tier":"internal","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/terminal-input-drain-helper","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Claude Code can discard stray typing until the keyboard goes quiet\n\nA routine can now throw away pending keyboard input until no input arrives for a short moment, with a time limit\n\n**Unclear.** It is not clear when Claude Code uses this, so when a reader would notice it is unknown.\n\n**What**\n\nClaude Code can now throw away keyboard input that is waiting to be read, continuing until nothing new has arrived for a short moment. It stops after a time limit, with a longer limit when a lot of input is arriving, and checks in very short steps.\n\n**Why**\n\nThis likely keeps stray keystrokes or leftover pasted text from landing in a prompt.\n\n- Area: Terminal UI\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}