Skip to content

Clearing input with cmd+backspace breaks w/ messages_half_page_up configured #6650

@jesseleite

Description

@jesseleite

Description

This is a weird one!

It seems clearing the input with cmd+backspace (a common MacOS-ism) breaks when this messages_half_page_up keybind is configured:

Image

But if I delete that one line and relaunch opencode, cmd+backspace works just fine 🤔

OpenCode version

1.0.223

Steps to reproduce

  1. Configure the following keybinds in opencode:
"keybinds": {
  "messages_half_page_up": "ctrl+u",
  "messages_half_page_down": "ctrl+d"
}
  1. Try to cmd+backspace to clear the prompt input in opencode on MacOS.

Screenshot and/or share link

No response

Operating System

MacOS Sequoia 15.5

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