Skip to content

Theme fonts and colors render incorrectly in macOS terminal compared to VSCode terminal #4721

Closed

Description

@Raviguntakala

Description

Themes render correctly in the VSCode terminal, but when running opencode in the default macOS terminal the colors, fonts, and block characters appear different.
This happens for all themes, not just one.

OpenCode version

v1.0.110

Steps to reproduce

Run opencode in the VSCode terminal and in the macOS terminal and compare the theme rendering.

Screenshot and/or share link

VSCode terminal :

Image

MacOS terminal :

Image

Operating System

macOS 15.3.2

Terminal

default macOS Terminal and VSCode terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 25, 2025
  2. github-actions commented on Nov 25, 2025

    @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. rekram1-node commented on Nov 25, 2025

    @rekram1-node
    Contributor

    @Raviguntakala this is because of how colors work on old mac terminals. They fixed their lack of support for truecolor on macos 26. If you upgrade your OS this works

  4. Raviguntakala commented on Nov 25, 2025

    @Raviguntakala
    ContributorAuthor

    @Raviguntakala this is because of how colors work on old mac terminals. They fixed their lack of support for truecolor on macos 26. If you upgrade your OS this works

    Thanks for the update. Closing this now.

  5. monroewilliams commented on Jul 7, 2026

    @monroewilliams

    I was able to fix this by telling Terminal to declare its terminal type as "xterm-256color" in Profiles -> Advanced -> TermInfo. I'd previously had it set to "xterm".

    Image
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 opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions