{"version":"2.1.323","anchor":"prompt-submit-with-composer-enter-shows-a-pre-submit-dialog","canonical_anchor":"prompt-submit-with-composer-enter-shows-a-pre-submit-dialog","heading":"Pressing Enter can now run a check before your prompt is sent","tier":"internal","area":"Terminal Input","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/prompt-submit-with-composer-enter-shows-a-pre-submit-dialog","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Pressing Enter can now run a check before your prompt is sent\n\nPressing Enter on a plain prompt can now run a check first that may stop it being sent, and the wait before a turn can be cancelled\n\n**Unclear.** What the step before sending checks or shows, and when it is switched on, is not known.\n\n**What**\n\nWhen you press Enter in the prompt box, Claude Code can now run a step before the prompt is sent. If that step says no, the prompt is not sent. It only runs when:\n\n- The Enter came from the prompt box\n\n- The input is not a slash command\n\n- Claude is not already working on a turn\n\n- The session is not a remote one\n\nThe wait for the work that happens before a turn starts can now also be cancelled. If you cancel it, your draft is put back in the prompt box.\n\n**Why**\n\nThis changes what happens when you press Enter. If a submission is stopped or you cancel it, you do not lose what you typed.\n\n- Area: Terminal Input\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}