nickjvandyke/opencode.nvim
bug: `session.interrupt` command requires two sends
Fechada
#257 aberto em 9 de mai. de 2026
buggood first issue
Métricas do repositório
- Stars
- (3.504 estrelas)
- Métricas de merge de PR
- (Mesclagem média 2d 22h) (9 fundiu PRs em 30d)
Description
Describe the bug
When we send the session.interrupt command, the opencode TUI displays "press Esc again to interrupt".
I think this regressed with opencode v1.0 because it used to work immediately.
Steps To Reproduce
- Send a message to
opencodeso it begins responding - Select
session.interruptcommand fromopencode.nvim - Must repeat step 2 to actually interrupt.
Expected Behavior
Selecting session.interrupt command a single time interrupts opencode.
Normally I don't like to work around opencode bugs, but this one is simple.
See lua/opencode/api/command.lua