Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Stdin now drained before disabling raw mode if input is 'owed'

Claude Code now drains pending stdin input before turning off raw mode

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaTerminal UIwhat it touches
KindBug Fixesin v2.1.271,
You'll notice

Claude Code now drains pending stdin input before turning off raw mode

What

When 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.

Why

Without 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.

See this entry in the whole of v2.1.271 →