No response to user input
Description
I’m trying to use open code more frequently because I really appreciate the work you put into it!
However, I've encountered an issue during my sessions: sometimes the user interface appears to be stuck and becomes unresponsive. Sometimes it is stuck on a prompt and when I press "enter", nothing seems to happen. In some occasions I just need to wait 5-10 seconds and it continues, but other times it will not do anything and I need to kill the process. I will not even listen to <ESC>, <CTRL>-C. <CTRL>-Z. So it is really stuck.
I can see the progress indicator moving over the model, so I know it’s not completely frozen.
OpenCode version
1.0.15
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Mac
Terminal
Ghostty
This issue might be a duplicate of existing issues. Please check:
- #3598: LSP hanging causes users to get stuck in working state
- #1418: OpenCode getting stuck on 'working' with double ESC not working
- #3154: Commands can lock OpenCode indefinitely
- #3822: UI output slows to a crawl causing responsiveness issues
Feel free to ignore if none of these address your specific case.
I got it to listen to <CTRL>-p, but I cannot really do much as it seems still unresponsive
can you produce a video?
Here is a screen recording. During this recording I pressed d and <ESC>, but it does not respond. You see that when I press <CTRL>-p, it does react to that.
https://github.com/user-attachments/assets/1682e3c4-a80d-46c0-84eb-7e005ea8a2ea
The second video is the same session. Theme switching get's the session stuck/really slow
https://github.com/user-attachments/assets/1c3a1707-faea-48f3-bf93-11275b3975f4
I noticed that I am able to create a new session. This new session is working, so it seems to be related to the specific session