Skip to content

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

Closed

Description

@zanovis

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Feb 2, 2026
  2. github-actions commented on Feb 2, 2026

    @github-actions
    Contributor

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

  3. github-actions commented on Apr 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions