{"version":"2.1.337","anchor":"goal-dialog-ctrlcexit-handlers-simplified","canonical_anchor":"goal-dialog-ctrlcexit-handlers-simplified","heading":"Dialogs handle interrupt and exit keys through the keybinding system","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/goal-dialog-ctrlcexit-handlers-simplified","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Dialogs handle interrupt and exit keys through the keybinding system\n\nAuto-mode, billing-link, sign-in and goal dialogs now wire Escape and Ctrl+C through app:interrupt and app:exit key actions\n\n**Unclear.** It is not clear what the removed condition checked, so the situations where Ctrl+C or exit now behave differently are unknown.\n\n**What**\n\nSeveral dialogs changed how they react to the keys that interrupt or exit, such as Escape and Ctrl+C:\n\n- Auto-mode confirmation and billing-link dialogs: these now pass a list of keys with an `app:interrupt` action instead of an `onInterrupt` callback.\n\n- Sign-in dialog: it drops `exitOnCtrlCD`.\n\n- Goal dialog: it now registers its `app:interrupt` and `app:exit` handlers directly. A guard that used to wrap them, `if (!qt())`, is gone. The dialog also now passes `title: null` and `onCancel: null`.\n\n**Why**\n\nThese keys now run through the keybinding system, the part of Claude Code that maps keys to actions. Exit behaviour in the goal prompt may differ from before, so watch for that if you use it.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}