Skip to content

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

Closed as not planned

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 2, 2026
  2. github-actions commented on Jan 2, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of or related to existing issues. Please check:

    The root cause appears to be related to keybind configuration conflicts. All of these involve input clearing/deletion keybinds not working as expected.

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  3. rekram1-node commented on Jan 2, 2026

    @rekram1-node
    Contributor

    /oc fix it

  4. opencode-agent commented on Jan 2, 2026

    @opencode-agent
    Contributor

    Created PR #6664

    New%20session%20-%202026-01-02T17%3A57%3A48.718Z
    opencode session  |  github run

  5. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  6. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions