The whole hunk
from line 127, old and new numbered
/
lines
from line 127
127127
128128Actions available in the `Confirmation` context:
129129
130| Action | Default | Description |
131| :-------------------------- | :---------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
132| `confirm:yes` | Y, Enter | Confirm action |
133| `confirm:no` | N, Escape | Decline action |
134| `confirm:previous` | Up | Previous option |
135| `confirm:next` | Down | Next option |
136| `confirm:nextField` | Tab | Next field |
137| `confirm:previousField` | (unbound) | Previous field |
138| `confirm:toggle` | Space | Toggle selection |
139| `confirm:cycleMode` | Shift+Tab\* | Cycle permission modes. On a file permission prompt, closes an open [comment field](/docs/en/permissions#add-a-comment-when-you-answer-a-permission-prompt); with no field open, selects the option that allows the action for the rest of the session, when the prompt offers that option |
140| `confirm:toggleExplanation` | Ctrl+E | Toggle a model-generated [explanation of the command](/docs/en/permissions#permission-system) on Bash and PowerShell permission prompts |
130| Action | Default | Description |
131| :---------------------- | :---------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
132| `confirm:yes` | Y, Enter | Confirm action |
133| `confirm:no` | N, Escape | Decline action |
134| `confirm:previous` | Up | Previous option |
135| `confirm:next` | Down | Next option |
136| `confirm:nextField` | Tab | Next field |
137| `confirm:previousField` | (unbound) | Previous field |
138| `confirm:toggle` | Space | Toggle selection |
139| `confirm:cycleMode` | Shift+Tab\* | Cycle permission modes. On a file permission prompt, closes an open [comment field](/docs/en/permissions#add-a-comment-when-you-answer-a-permission-prompt); with no field open, selects the option that allows the action for the rest of the session, when the prompt offers that option |
141140
142141\*On Windows without VT mode (Node \<24.2.0/\<22.17.0, Bun \<1.2.23), defaults to Meta+M.
142
143Before v2.1.257, a `confirm:toggleExplanation` action, bound to `Ctrl+E` by default, showed a model-generated explanation of the command on Bash and PowerShell permission prompts.
143144
144145### Permission actions
145146