[PR #9444] feat(tui): Support using number keys to answer permission requests #13113

Open
opened 2026-02-16 18:17:59 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9444

State: open
Merged: No


What does this PR do?

Allow optional faster permission selection by allowing 1-9 key pressing to select permission prompt answers.

Focused PR changes only apply to permission requests. Can be expanded to other user prompts if this direction and pattern is desired.

Fixes https://github.com/anomalyco/opencode/issues/9447

How did you verify your code works?

Prompting so that permissions request come in and using the same workflow with the updated labels.

Before

Screenshot 2026-01-19 at 11 32 50 AM

After

Screenshot 2026-01-19 at 11 32 00 AM
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9444 **State:** open **Merged:** No --- ### What does this PR do? Allow optional faster permission selection by allowing 1-9 key pressing to select permission prompt answers. Focused PR changes only apply to permission requests. Can be expanded to other user prompts if this direction and pattern is desired. Fixes https://github.com/anomalyco/opencode/issues/9447 ### How did you verify your code works? Prompting so that permissions request come in and using the same workflow with the updated labels. #### Before <img width="739" height="164" alt="Screenshot 2026-01-19 at 11 32 50 AM" src="https://github.com/user-attachments/assets/1c75e436-e327-463a-8681-006cf40ecb03" /> #### After <img width="655" height="158" alt="Screenshot 2026-01-19 at 11 32 00 AM" src="https://github.com/user-attachments/assets/36c0aac1-8222-40c6-b28e-97c392936b17" />
yindo added the pull-request label 2026-02-16 18:17:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13113