[FEATURE] Add number shortcuts (1-9) to permission prompt #8280

Open
opened 2026-02-16 18:09:35 -05:00 by yindo · 1 comment
Owner

Originally created by @zanovis on GitHub (Feb 1, 2026).

Originally assigned to: @rekram1-node on GitHub.

Summary

Add support for using number keys (1, 2, 3...) to select options in the permission prompt, similar to Claude Code.

Motivation

Improves efficiency by allowing users to quickly select 'Allow once', 'Allow always', or 'Reject' without navigating with arrow keys.

Proposed Implementation

  • Map keys 1-9 to the visible options in the prompt.
  • Display the number index next to the option label (e.g. '1. Allow once').
Image
Originally created by @zanovis on GitHub (Feb 1, 2026). Originally assigned to: @rekram1-node on GitHub. ## Summary Add support for using number keys (1, 2, 3...) to select options in the permission prompt, similar to Claude Code. ## Motivation Improves efficiency by allowing users to quickly select 'Allow once', 'Allow always', or 'Reject' without navigating with arrow keys. ## Proposed Implementation - Map keys 1-9 to the visible options in the prompt. - Display the number index next to the option label (e.g. '1. Allow once'). <img width="1231" height="209" alt="Image" src="https://github.com/user-attachments/assets/02750e87-913f-4339-918f-3eae26397ec2" />
yindo added the opentui label 2026-02-16 18:09:35 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 1, 2026):

For keybind-related issues, please also check our pinned keybinds documentation: #4997

@github-actions[bot] commented on GitHub (Feb 1, 2026): For keybind-related issues, please also check our pinned keybinds documentation: #4997
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8280