[FEATURE]:Support alternative command prefix for non-English IMEs (e.g. Chinese '、') #8148

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

Originally created by @fanxing-6 on GitHub (Jan 31, 2026).

Originally assigned to: @kommander on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

OpenCode TUI uses / as the prefix for commands (e.g. /help, /undo, /connect).
On Chinese IMEs, the key that normally produces / often produces the punctuation by default. This makes it painful to use slash commands in the TUI because typing /help becomes 、help, which is not recognized as a command.

Requested feature

Support alternative / configurable command prefixes in the TUI, so that can be treated as equivalent to /.
Examples:

  • 、help should behave exactly like /help
  • 、undo should behave exactly like /undo
    Optionally also support fullwidth slash .

Slash commands are core to the TUI workflow, and this is a common friction point for users who work with Chinese IMEs (and potentially other non-English input methods).

Originally created by @fanxing-6 on GitHub (Jan 31, 2026). Originally assigned to: @kommander on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request ## Problem OpenCode TUI uses `/` as the prefix for commands (e.g. `/help`, `/undo`, `/connect`). On Chinese IMEs, the key that normally produces `/` often produces the punctuation `、` by default. This makes it painful to use slash commands in the TUI because typing `/help` becomes `、help`, which is not recognized as a command. ## Requested feature Support alternative / configurable command prefixes in the TUI, so that `、` can be treated as equivalent to `/`. Examples: - `、help` should behave exactly like `/help` - `、undo` should behave exactly like `/undo` Optionally also support fullwidth slash `/`. Slash commands are core to the TUI workflow, and this is a common friction point for users who work with Chinese IMEs (and potentially other non-English input methods).
yindo added the opentuidiscussion labels 2026-02-16 18:09:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8148