press ESC again to interrupt does not work
I logged into my Ubuntu machine and played with opencode a bit (I updated it to the latest version). I notice that I press ESC once and it tells me to press again to interrupt the LLM. No matter how many times I press ESC, it just oscillate between (ESC / Press again to interrupt). I finally have to Ctrl+C.
what model is this with? i tried to replicate and i could not
I tried it with Devstral. It seems when being asked to use tools and it was not responding / thinking , the ESC mode did not work to stop it.
For me it's a hit and miss, most of the time it doesnt pick-up my double ESC.
I am just holding down escape watching it spend an hour systematically destroy all the work it had done, with Sonnet 4
I have the same problem with Sonnet 4.
Ya running into this with sonnet 4
Having same issue with Claude Opus 4.
Me too
Same issue with Sonnet 4
this was fixed in a release today, can you all confirm?
So far seems to be working, will test more. Thank you!
works better here too
Fixed for me.
Debian on WSL2, Google's Gemini 2.5 pro preview 06-05 -> double Escape doesn't work for me with version v0.3.13 when it's "working..." for a long time without doing anything.
My guess: when the model is unresponsive, double Escape doesn't work.
Still having issue same as @PhunkyBob
Same here, on Debian, 0.3.131, I can't cancel operations. Opencode runs off until it runs out of steam.
I faced this issue today with Grok Code
seeing this too using gpt 4.1 and grok code fast 1. I'm also not able to kill with ctrl-c
@nandilugio not able to kill? Is the process just hanging or are you saying when u restart it still says "generating...."
@rekram1-node I mean that hitting Ctrl+C doesn't kill the application, not even when idle waiting for a prompt. Ctrl+C reaches the terminal because it works on other programs and on the shell. Seems like the signal is trapped but not handled somehow.
Also, somehow, today double-Esc is working. Haven't upgraded or anything. Still on v0.15.3.
Thx for checking! let me know if you need any more info.