Skip to content

session_interrupt command doesn't work when binded in non-default #5752

Closed

Description

@danilevy1212

Description

I'm my configuration, I have session interrupt binded to:

  "keybinds": {
    "session_interrupt": "<leader>esc"
  },

However, I cannot interrupt the session. If I remove the keybinding and use the default it does work though. The keybinding does not change the message in the bottom for interrupting session either.

Interrupt Session CTRL-P doesn't work with or without the binding either

OpenCode version

1.0.167

Steps to reproduce

  1. Add custom session interrupt keybinding to config:
   "keybinds": {
     "session_interrupt": "<leader>esc"
   }
  1. Start a session that can be interrupted
  2. Try esc - fails to interrupt
  3. Try CTRL-P interrupt session also fails to interrupt
  4. Remove custom binding, restart session
  5. Try default interrupt - works correctly
  6. Try CTRL-P interrupt session fails to interrupt

Screenshot and/or share link

Image

Operating System

Linux 6.18.0 NixOS x86_64

Terminal

Alacritty

Activity

  1. github-actions commented on Dec 18, 2025

    @github-actions
    Contributor

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

  2. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 18, 2025
  3. changed the title [-]`session_interrupt` command doesn't work when binded in none-default[/-] [+]`session_interrupt` command doesn't work when binded in non-default[/+] on Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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