You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many times when using the editor (vim), after :wq it should return the text of the editor into the prompt, but instead it just crashes. Not all the time but when it does crash, it's super annoying when you've taken a long time to write a prompt and then POOF it's gone. The file is also immediately deleted from the /tmp directory, why - I don't know. I've got into the habit of saving to another file before exiting the editor (which is super cumbersome), but the one time I forget to save to another file, after 20 minutes of editing my prompt in the editor, :wq then CRASH! Super anoying.
OpenCode version
1.0.115
Steps to reproduce
I don't know how to reliably reproduce this issue. It shows up randomly, usually at the worst time!
Yes, I already searched for editor crash before I opened the bug. The two results are not the same issue.
These all involve editor-related crashes, TUI restoration issues, or problems exiting the editor. Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Nov 27, 2025
This issue might be a duplicate of existing issues. Please check:
These all involve editor-related crashes, TUI restoration issues, or problems exiting the editor. Feel free to ignore if none of these address your specific case.
aaronnewsome commentedon Nov 28, 2025
following up, this prompt pasted into the editor will consistently crash opencode after exiting the editor
removing the last line with the
✔character and opencode doesn't crash on editor exit.rekram1-node commentedon Nov 28, 2025
thank you for info, we will fix
kommander commentedon Dec 20, 2025
Is this still an issue?