{"version":"2.1.248","anchor":"plan-mode-exit-dialog-guards-against-stray-keypresses","canonical_anchor":"plan-mode-exit-dialog-guards-against-stray-keypresses","heading":"Plan-mode exit dialog guards against stray keypresses","tier":"notice","area":"Plan Mode","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/plan-mode-exit-dialog-guards-against-stray-keypresses","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Plan-mode exit dialog guards against stray keypresses\n\nThe plan-mode exit dialog ignores stray keys so plans aren't accepted by accident.\n\n**What**\n\nThe \"Ready to code?\" \/ \"Exit plan mode?\" dialog now checks an acceptance callback before acting on any choice, and a selection arriving too soon after a prior refusal or during a fast-typing burst is swallowed. Stray keystrokes no longer instantly accept or reject a plan.\n\n**Details**\n\n- Its select lists are passed `refuseInput` and an explicit `selectedValue`.\n- The refusal-timing helpers it uses are new in this build.\n- The component was re-emitted without the React-compiler memo cache array it previously carried.\n\n**Evidence**\n\n`refuseInput: ai,`\n\n- Area: Plan Mode\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 1\/5"}