{"version":"2.1.334","anchor":"digit-key-shortcut-gets-a-separate-onenter-handler","canonical_anchor":"digit-key-shortcut-gets-a-separate-onenter-handler","heading":"Dialogs with number-key shortcuts can now treat Enter separately","tier":"internal","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/digit-key-shortcut-gets-a-separate-onenter-handler","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Dialogs with number-key shortcuts can now treat Enter separately\n\nDialogs that let you pick with a number key can now give Enter its own action instead of reusing the digit action\n\n**What**\n\nSome dialogs let you choose an option by pressing a number key. Pressing Enter to confirm used to run the same action as pressing the digit. These dialogs can now give Enter its own separate action. If none is given, Enter still runs the digit action.\n\n**Why**\n\nThis lets a dialog react differently to Enter than to a plain number key. No dialog uses this yet, so nothing changes for you for now.\n\n- Area: Terminal UI\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}