You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Permission rework (#6319, commit f508d8b9f) removed direct keyboard shortcuts for responding to permission prompts. This is a regression that makes the TUI less efficient to use.
Previous behavior (before Dec 31, 2025)
Permission prompts could be answered with single keystrokes:
enter / return → Allow once
a → Always allow
d → Reject (deny)
escape → Reject
Current behavior
Users must now:
Navigate between options using arrow keys (←/→) or h/l
Press enter to confirm
For "Always allow": confirm again on a second prompt
This adds unnecessary friction, especially for power users who frequently approve permissions.
Why this matters
From the OpenCode philosophy:
A focus on TUI. OpenCode is built by neovim users and the creators of terminal.shop; we are going to push the limits of what's possible in the terminal.
TUI users expect single-keystroke actions and the ability to configure keybindings. The current navigate-then-confirm pattern feels more like a GUI modal dialog than a keyboard-first terminal interface.
Suggested fix
Restore the original keyboard shortcuts in the Prompt component (packages/opencode/src/cli/cmd/tui/routes/session/permission.tsx), and ideally make them configurable via the keybinds config section:
The old a shortcut triggered "always allow" directly. The new implementation added a confirmation step before applying "always allow". Consider adding a permission_allow_always_force keybind (or config flag) that skips this confirmation for users who want the faster workflow.
Note
The removal of these shortcuts appears to be undocumented. The commit message is simply "permission rework" with no explanation for why the shortcuts were removed, suggesting this may have been an oversight during the refactor rather than an intentional design decision.
References
Removed in commit: f508d8b9f9de81091f86c61e1f935934f1599185
Activity
github-actions commentedon Jan 12, 2026
This issue might be a duplicate of existing issues. Please check:
Additionally, for keybind-related issues, please also check our pinned keybinds documentation: #4997
Feel free to ignore if none of these address your specific case.
ais not accepted as always accept permission #9390 as a duplicate of this issuexuyangyuio commentedon Jan 27, 2026
Also allow looping through options with TAB will be super :)
github-actions commentedon Mar 29, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.