Skip to content

TUI rendering with random characters like â and € windows 11 when UV formatter is enabled #9338

Closed

Description

@nhickster

Description

See the attached screen shots. But I getting garbled characters on my windows machine when I have the uv formatter enabled. I installed opencode with npm, and for some reason the uv formatter appears to be messing with the characters of the TUI. Mostly a lot of †characters, and it's not always in the TUI chrome, the response from the models also has messed up characters. Disabling UV formatter fixes the issue.

Plugins

none

OpenCode version

1.1.25

Steps to reproduce

  1. Install open code on windows (I used npm install -g opencode-ai)
  2. install the latest python and uv.
  3. Run opencode in windows terminal, powershell, pwsh, or wezterm
  4. observe random characters instead of TUI chrome.

Screenshot and/or share link

Image Image

Operating System

Windows 11

Terminal

Window Terminal, Powershell, Pwsh, and WezTerm all have the same issue for me.

Workaround

Disable UV formatter in opencode.json:

"uv": {
  "disabled": true
}

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 19, 2026
  2. github-actions commented on Jan 19, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  3. nhickster commented on Jan 24, 2026

    @nhickster
    Author

    I fixed it by disabling the uv formatter! For anyone else seeing this issue, you need to edit the opencode.json to disable formatters. Adding this fixed it:

    "uv": {
      "disabled": true
    }

    Not sure if you want to keep this bug open, but I'll update it to match the actual issue.

  4. changed the title [-]TUI rendering with random characters like â and € windows 11.[/-] [+]TUI rendering with random characters like â and € windows 11 when UV formatter is enabled[/+] on Jan 24, 2026
  5. vincentleeuwen commented on Feb 6, 2026

    @vincentleeuwen

    What a wild and silly bug. Horrible experience when i tried to use opencode first time. @nhickster solution worked for me. Complete JSON:

    {
      "formatter": {
        "uv": {
          "disabled": true
        }
      }
    }
    
  6. github-actions commented on Apr 8, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 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

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions