[PR #4631] fix: prevent permission shortcuts when ctrl/meta pressed #11047

Closed
opened 2026-02-16 18:15:49 -05:00 by yindo · 0 comments
Owner

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

State: closed
Merged: Yes


I've mapped my PageUp/PageDown to ctrl+u and ctrl+d respectively.

When I'm reading OpenCode output and I'm scrolling back down with ctrl+d, if OpenCode has asked for permission for something, the ctrl+d acts as a deny.

This change just checks that ctrl/meta are not pressed.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4631 **State:** closed **Merged:** Yes --- I've mapped my `PageUp`/`PageDown` to `ctrl+u` and `ctrl+d` respectively. When I'm reading OpenCode output and I'm scrolling back down with `ctrl+d`, if OpenCode has asked for permission for something, the `ctrl+d` acts as a `deny`. This change just checks that ctrl/meta are not pressed.
yindo added the pull-request label 2026-02-16 18:15:49 -05:00
yindo closed this issue 2026-02-16 18:15:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11047