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
{{ message }}
Repository navigation
Add mouse/touch support to permission prompt buttons #8992
The permission prompt (for "Allow once", "Allow always", "Reject" options) currently only supports keyboard navigation (arrow keys + enter). It would be helpful to also support mouse clicks and touch input for selecting options.
Use Case
This is particularly useful for users running OpenCode in terminal emulators that support mouse/touch input, such as Termux on mobile devices.
Proposed Solution
Add onMouseOver and onMouseUp handlers to the option buttons in the Prompt component, following the existing pattern used throughout the codebase (e.g., dialog-confirm.tsx, question.tsx).
Activity
github-actions commentedon Jan 16, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
5p00kyy commentedon Jan 16, 2026
Duplicate of #7966