Opencode blanks terminal after version v1.0.214 with npm
Description
When running opencode the terminal turns completely blank, and can't be closed.
OpenCode version
v1.0.214 and v1.0.215
Steps to reproduce
- Install opencode version v1.0.214 or v1.0.215 (Latest at the time of the issue)
- Run open code
Screenshot and/or share link
Im attaching a video, not sure if there are logs or something else I could share that could make this more usefull
https://github.com/user-attachments/assets/e38cfa14-83cf-4d23-b8df-866a6aeeabc2
Operating System
Arch Linux
Terminal
Kitty
This issue might be a duplicate of existing issues. Please check:
- #5671: After my pc restarted today when I run opencode, the terminal is blank (closed - similar symptom on Linux)
- #4140: black screen when using >1.0.46 (macOS - blank screen after upgrade)
- #6057: Nothing is displayed (Windows - similar blank screen issue)
- #3776: Screen becomes completely blank (Mac - screen blanking after v1.0.12)
These issues share similar symptoms with v1.0+ (opentui) changes. Feel free to ignore if your specific case differs.
Running from source with bun I have no problems, so maybe its something specific with npm?
Maybe show output of:
opencode run hello --print-logs
My computer probably was having a stroke, it fixed itself now, no clue why. Sorry to bother
@rlifberg
Have you tried to reboot?
A werid behaviour that I had was when killing the process, it did show the stuff on screen, do you also experience that?
I was having this same issue, and it got solves automatically as well for me.... 🤔
I had the same problem, i had to remove the opencode.db and it started working, look like it was corrupted.