Skip to content

TUI command palette selection becomes unreadable when copy-highlighting #9441

Closed as not planned

Description

@kearns-cu

Summary

In the TUI command palette, hover styling uses high contrast colors, but when selecting text with the mouse to copy, the selection highlight turns selected text black on a dark background, making it hard to see what is being copied.

Steps to Reproduce

  1. Open the TUI.
  2. Open the command palette via Ctrl+P or /commands.
  3. Hover a command (text becomes black on orange background).
  4. Click and drag to highlight part of the command text for copy.

Actual Behavior

Selected text becomes black on a dark selection background, reducing readability while selecting.

Expected Behavior

Selected text remains readable with high contrast while dragging to copy, regardless of theme.

Scope

Applies only to the command palette hover and selection styling.

Activity

  1. github-actions commented on Jan 19, 2026

    @github-actions
    Contributor

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

    This appears to be a related issue with text selection readability in the TUI. Feel free to ignore if this doesn't address your specific case with the command palette hover styling.

  2. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis 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