{"version":"2.1.326","anchor":"prompt-unavailable-check-simplified","canonical_anchor":"prompt-unavailable-check-simplified","heading":"Claude Code now checks stdout and stderr before refusing to show a prompt","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/prompt-unavailable-check-simplified","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Claude Code now checks stdout and stderr before refusing to show a prompt\n\nClaude Code now says it can't show a prompt when both stdout and stderr are piped or redirected, instead of stdin and stdout\n\n**What**\n\nSometimes Claude Code needs to show you an on-screen prompt, but it can only do that when it is connected to a terminal window. It now refuses to show a prompt when neither stdout nor stderr (its two output channels) is connected to a terminal, for example because both are being sent to a file or another program.\n\nBefore, it checked stdin (its input) and stdout. The message now reads \"Claude Code can't show a prompt here: stdout and stderr are both piped or redirected.\"\n\n**Why**\n\nThis changes when a prompt is refused. If you pipe or redirect Claude Code's output in scripts, a prompt may now appear or be refused in cases where it did not before.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}