opencode icon indicating copy to clipboard operation
opencode copied to clipboard

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

Open trungung opened this issue 6 days ago • 2 comments

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

trungung avatar Jan 09 '26 00:01 trungung