Skip to content

Possible regression in v1.17.10 on WSL: TUI shows black screen and no prompt can be entered #33887

Closed as not planned

Description

@cescalonso

Description

After upgrading to OpenCode v1.17.10, launching opencode in WSL opens the TUI but the screen stays black.

No prompt/input field is visible and I cannot type or submit any prompt.

Downgrading to v1.17.9 fixes the issue immediately:

opencode upgrade v1.17.9

After downgrading, OpenCode starts normally again.

This appears to be a regression introduced in v1.17.10, since downgrading to v1.17.9 fixes the issue in the same WSL/Windows Terminal environment.

Plugins

None

OpenCode version

v1.17.10 affected v1.17.9 works

Steps to reproduce

  1. Install OpenCode using:

    curl -fsSL https://opencode.ai/install | zsh
  2. Upgrade to v1.17.10:

    opencode upgrade v1.17.10
  3. Run:

    opencode
  4. The TUI opens to a black screen.

  5. No prompt can be entered.

  6. Downgrade:

    opencode upgrade v1.17.9
  7. Run opencode again.

  8. The TUI works normally.

Screenshot and/or share link

The screen simply stays black after launching opencode.

Operating System

Windows 11 + WSL2 Ubuntu 22.04.5 LTS

Terminal

Windows Terminal

Activity

  1. github-actions commented on Jun 25, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. simonklee commented on Jun 25, 2026

    @simonklee
    Member

    Can you try v1.17.11 and see if that fixes the issue?

  3. cescalonso commented on Jun 25, 2026

    @cescalonso
    Author

    I tried v1.17.11 and the issue still happens.

    Current version:

    % opencode --version
    1.17.11

    Then I ran:

    % opencode
    

    Result: same behavior as before. The TUI opens to a black screen and I still cannot enter any prompt.

  4. LINSTCL commented on Jun 25, 2026

    @LINSTCL

    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. (´・_・`)

  5. nasko25 commented on Jun 27, 2026

    @nasko25

    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.

  6. github-actions commented on Aug 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions