{"version":"2.1.281","anchor":"custom-api-key-dialog-exits-on-ctrlc-ctrld","canonical_anchor":"custom-api-key-dialog-exits-on-ctrlc-ctrld","heading":"Custom API key dialog exits on Ctrl+C \/ Ctrl+D","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/custom-api-key-dialog-exits-on-ctrlc-ctrld","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Custom API key dialog exits on Ctrl+C \/ Ctrl+D\n\nPressing Ctrl+C or Ctrl+D at the custom API key prompt now exits\n\n**Unclear.** Whether Ctrl+C or Ctrl+D closes only the dialog or quits Claude Code altogether is not shown.\n\n**What**\n\nAn API key is the secret code that lets Claude Code use an account. When Claude Code finds one in your environment, it shows a dialog that begins \"Detected a custom API key in your environment\". Pressing Ctrl+C or Ctrl+D while that dialog is showing now exits.\n\n**Why**\n\nYou can leave the dialog with the usual quit keys without having to answer it first."}