Skip to content

Text editing shortcuts (Option+Arrow, Option+Backspace) don't work in search dialogs #7398

@trungung

Description

@trungung

Description

On Mac, when using search functionality in dialogs (command palette, theme selection, model selection), text editing shortcuts don't work:

  • Option+ArrowLeft/ArrowRight - navigate by word
  • Option+Backspace - delete previous word

Plugins

None

OpenCode version

1.1.17

Steps to reproduce

  1. Open command palette (Ctrl+P) or any search dialog (theme selection, model selection)
  2. Click in the search input field
  3. Type some text like "hello world test"
  4. Try Option+ArrowLeft or Option+ArrowRight
    • Expected: Cursor jumps one word at a time
    • Actual: Cursor doesn't move
  5. Try Option+Backspace
    • Expected: Previous word is deleted
    • Actual: Nothing happens

Screenshot and/or share link

Image

Operating System

macOS 26

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions