Skip to content

Unreadable text in git bash with a light theme with the default "auto" theme #1945

@bogdanionitabp

Description

@bogdanionitabp

Describe the bug

See the screenshot. I use git bash with a light theme.
The copilot CLI doesn't use system default colors, instead it colors the output "white" which is unreadable on a white background, of course.
I have no problem with any other tools I use, they all display black text on white background, only the copilot CLI exhibits this problem.

I have later found out the /theme command which helped me solve this, but I expect it to set the correct colors automatically from the beginning or at least when set to "auto" which it doesn't.

Image

Affected version

GitHub Copilot CLI 1.0.3. Run 'copilot update' to check for updates.

Steps to reproduce the behavior

  1. use git bash with a light color theme
  2. start copilot cli the first time after it was installed
  3. observe output - unreadable
  4. use /theme set auto command -> no change

Expected behavior

Readable text from the first launch of the program. The program automatically detects the terminal theme and uses the correct colors.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions