Skip to content

Selected permission option result unreadable when background colour is "none" #7246

Closed

Description

@ariane-emory

Description

With the recent changes in how permissions are displayed in the TUI, the text for the selected option is now completely unreadable when the background color is set to "none".

This reminds me of a prior issue that occurred with selected menu items when the background colour was set to "none" that was fixed a couple of months ago by having it automatically calculate a contrasting colour or using a selectedListItemText colour from the theme (see packages/opencode/src/cli/cmd/tui/context/theme.tsx).

Plugins

None

OpenCode version

1.1.6

Steps to reproduce

  1. Set the colour of 'background' to "none" in your theme.
  2. Perform an action that will cause a request for permissions to be displayed.

Screenshot and/or share link

Image

Operating System

MacOS Sequoia latest

Terminal

iTerm2

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 7, 2026
  2. github-actions commented on Jan 7, 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. ariane-emory commented on Jan 7, 2026

    @ariane-emory
    ContributorAuthor

    PR incoming, ETA ~30 minutesish.

  4. added a commit that references this issue on Jan 7, 2026
    03eabb1
  5. added a commit that references this issue on Feb 2, 2026
    2d2b437
  6. added a commit that references this issue on May 5, 2026
    a745fd8
  7. added a commit that references this issue on Jun 14, 2026
    293a8bc
  8. added a commit that references this issue on Jul 31, 2026
    07dec90
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