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
{{ message }}
Repository navigation
Possible regression in v1.17.10 on WSL: TUI shows black screen and no prompt can be entered #33887
Bro, did you get any help on this? I ran into the same issue. Today I opened opencode in WSL (Kali). The first time it was a bit slow but barely managed to show the screen. I didn't notice whether it had upgraded to 1.7.11. But the second time, when I opened it from the command line, I got a black screen. Ctrl+C and Ctrl+V didn't work, so I had to close the cmd window. Then I saw your issue and realized the version had become 1.7.11. I tried downgrading to 1.7.10 — still black screen. After downgrading to 1.7.9, I finally got a working interface. Throughout all this, HOME_PATH/.local/share/opencode/log/opencode.log had absolutely no logs. (´・_・`)
I have the same issue because of legacy drizzle DB migrations bug. You can try deleting ~/.local/share/opencode/opencode.db but it will delete all your past sessions. Otherwise, you can try the changes from my PR.
Activity
github-actions commentedon Jun 25, 2026
This issue might be a duplicate of existing issues. Please check:
simonklee commentedon Jun 25, 2026
Can you try v1.17.11 and see if that fixes the issue?
cescalonso commentedon Jun 25, 2026
I tried v1.17.11 and the issue still happens.
Current version:
Then I ran:
Result: same behavior as before. The TUI opens to a black screen and I still cannot enter any prompt.
LINSTCL commentedon Jun 25, 2026
Bro, did you get any help on this? I ran into the same issue. Today I opened opencode in WSL (Kali). The first time it was a bit slow but barely managed to show the screen. I didn't notice whether it had upgraded to 1.7.11. But the second time, when I opened it from the command line, I got a black screen. Ctrl+C and Ctrl+V didn't work, so I had to close the cmd window. Then I saw your issue and realized the version had become 1.7.11. I tried downgrading to 1.7.10 — still black screen. After downgrading to 1.7.9, I finally got a working interface. Throughout all this, HOME_PATH/.local/share/opencode/log/opencode.log had absolutely no logs. (´・_・`)
nasko25 commentedon Jun 27, 2026
I have the same issue because of legacy drizzle DB migrations bug. You can try deleting
~/.local/share/opencode/opencode.dbbut it will delete all your past sessions. Otherwise, you can try the changes from my PR.github-actions commentedon Aug 27, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.