Skip to content

Input text is black on black #4461

Closed
Closed

Description

@agladysh

Description

In the stock macOS Terminal.app with the Pro color theme the input text is black on black background. See screenshot (input text is /models).

OpenCode version

1.0.72

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macOS 15.6

Terminal

Terminal.app 2.14 (455.1)

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 18, 2025
  2. agladysh commented on Nov 18, 2025

    @agladysh
    Author

    Here is how it looks in Alacritty 0.16.1 (1) on the same machine with the same configuration. I would strongly prefer to use the Terminal.app, however.

    Image
  3. ls-rajan-rauniyar commented on Nov 19, 2025

    @ls-rajan-rauniyar

    @agladysh I had the same issue and switched from using Terminal to iterm2, and everything looks so great. I'd highly suggest that you do so.

    brew install iterm2
    
  4. rekram1-node commented on Nov 19, 2025

    @rekram1-node
    Contributor

    What terminal version did this happen with and what theme was it @agladysh I can't replicate using macos terminal + opencode theme

  5. kommander commented on Nov 20, 2025

    @kommander
    Contributor

    MacOS Terminal.app <= 2.14 is currently not working as it does not support true color and opentui does not have a fallback yet. It will come at some point, but for now there is no other way than to either upgrade to MacOS Sequoia (which is why it works for @rekram1-node) or use a terminal that supports true color.

  6. ahmedasmar commented on Jan 11, 2026

    @ahmedasmar

    I'm on Sequoia and using Terminal 2.14 and have the same issue! how to fix it? I would rather stay with stock terminal for now.

  7. kommander commented on Jan 11, 2026

    @kommander
    Contributor

    The only option you have for now then is to upgrade MacOS to Tahoe.

  8. ahmedasmar commented on Jan 11, 2026

    @ahmedasmar
  9. kommander commented on Jan 12, 2026

    @kommander
    Contributor

    Not a guess, I know that the built-in terminal in Tahoe got improvements like true color support.

  10. SeverinAlexB commented on Jan 12, 2026

    @SeverinAlexB

    I just experienced this issue and upgrading to MacOS Tahoe worked

  11. smilemonk commented on Jan 25, 2026

    @smilemonk

    me too … Mac+zsh+opencode=dark

  12. ahmedasmar commented on Jan 25, 2026

    @ahmedasmar
  13. github-actions commented on Mar 27, 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.

  14. monroewilliams commented on Jul 8, 2026

    @monroewilliams

    This wasn't working properly for me even under macOS 26. I was able to fix it by telling Terminal to declare its terminal type as "xterm-256color" in Profiles -> Advanced -> TermInfo. I'd previously had it set to "xterm". (This also has the side-effect of causing terminal to set COLORTERM=truecolor in the environment, which actually makes it take the truecolor rendering path.)

    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