{"version":"2.1.248","anchor":"bash-permission-prompt-only-records-answers-it-accepts","canonical_anchor":"bash-permission-prompt-only-records-answers-it-accepts","heading":"Bash permission prompt only records answers it accepts","tier":"notice","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/bash-permission-prompt-only-records-answers-it-accepts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Bash permission prompt only records answers it accepts\n\nThe Bash permission prompt only records your answer when it actually accepts the keypress.\n\n**What**\n\nThe Bash permission prompt now takes an acceptance callback. When it returns false, both the change and cancel handlers bail out, remount the option list and re-seed focus, so the `tengu_permission_request_option_selected` telemetry only fires for input that was actually accepted.\n\n**Details**\n\n- The edit-permission dialog now returns a boolean from its answer callback instead of nothing, so the caller can tell whether the answer was taken.\n\n**Evidence**\n\n`tengu_permission_request_option_selected`\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}