{"version":"2.1.326","anchor":"early-key-guard-stdin-drain-gated-by-tengu-cheeky-newt-def","canonical_anchor":"early-key-guard-stdin-drain-gated-by-tengu-cheeky-newt-def","heading":"A guard against keystrokes typed during startup can be switched on","tier":"soon","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/early-key-guard-stdin-drain-gated-by-tengu-cheeky-newt-def","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### A guard against keystrokes typed during startup can be switched on\n\nClaude Code can now discard input typed before it is ready; it is off unless switched on remotely or with an environment variable\n\n**Unclear.** Exactly which typed input the guard discards is not confirmed.\n\n**What**\n\nClaude Code has an early key guard that appears to clear away keystrokes typed before its screen is ready. It is controlled two ways:\n\n- A server-controlled switch, which falls back to off, so the guard does nothing unless it is switched on remotely.\n\n- The environment variable `CLAUDE_CODE_DISABLE_EARLY_KEY_GUARD`, which wins over the switch. Setting it to any true value turns the guard off, and setting it to a false value such as `0` turns it on.\n\nAn environment variable is a named value you set in your shell before starting Claude Code.\n\n**Why**\n\nIt changes how typed input is handled while Claude Code starts, and the environment variable lets you turn it off if it ever gets in your way.\n\n- Flag `tengu_cheeky_newt`: Not enough to say (read for one account on one subscription tier against v2.1.326; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Terminal UI\n- Names: `tengu_cheeky_newt`\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}