{"version":"2.1.271","anchor":"stdin-now-drained-before-disabling-raw-mode-if-input-is-owe","canonical_anchor":"stdin-now-drained-before-disabling-raw-mode-if-input-is-owe","heading":"Stdin now drained before disabling raw mode if input is 'owed'","tier":"notice","area":"Terminal UI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/stdin-now-drained-before-disabling-raw-mode-if-input-is-owe","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### Stdin now drained before disabling raw mode if input is 'owed'\n\nClaude Code now drains pending stdin input before turning off raw mode\n\n**What**\n\nWhen Claude Code suspends reading from standard input, for example to hand control of the terminal to another program, it now checks whether there's outstanding \"owed\" input still buffered. If there is, it drains that input first before switching off the terminal's raw input mode.\n\n**Why**\n\nWithout this, buffered keystrokes or input could be lost at the moment control of the terminal is handed off, so draining first makes sure nothing typed gets silently dropped.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}