Skip to content

OpenCode desktop on macOS doesn't recognize for option keys #10756

@HyunggyuJang

Description

@HyunggyuJang

Description

option+b or option+f are not recognized from OpenCode desktop app on macOS.
I'm using Unicode Hex Input keyboard to make option key works as expected with

        targets.darwin.keybindings = {
...
          # Meta shortcuts
          "~y" = "yankPop:";
          "~f" = "moveWordForward:";
          "~b" = "moveWordBackward:";
...
        };

Configuration, and it works generally for cocoa apps.

In general, from OpenCode desktop app doesn't recognize option key + key; it interprets as a dead key, see the reprod steps.

Plugins

No response

OpenCode version

1.1.36

Steps to reproduce

  1. Open OpenCode desktop app
  2. Trying to add key shortcut
  3. Type option key + something, like option + b
  4. Then, it appears as dead:
Image

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions