Skip to content

Some assistant markdown text ignores TUI theme foreground #4618

@tylimbach

Description

@tylimbach

Description

Assistant responses contain some text in TUI that aren't respecting the foreground of the theme. This is especially noticable in light themes, where some text is rendered white despite the terminal and tui theme being setup for light mode.

I have noticed this in several areas, some of which have been fixed:

  • Markdown table cells
  • Comment strings (cannot recreate on latest build)
  • Bugged plain markdown text on Windows OS

It appears the color is totally independent of the theme colors.

OpenCode version

1.0.88

Steps to reproduce

  1. Start a TUI session and ask for the agent to create a table for you
  2. Select a theme in TUI (e.g Gruvbox)
  3. Switch to light mode, in my case the text inside the cell does not change with the dark/light toggle

Screenshot and/or share link

Image

Operating System

Windows 11 & MacOS 15.7.1

Terminal

WezTerm

Metadata

Metadata

Assignees

No one assigned

    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