Skip to content

Black text on dark blue background due to osc 11 #3898

Description

@sergei-grechanik

Describe the bug

I've just installed copilot cli, and I'm seeing this:

Image

The reason is using a custom background color (set via osc 11) and the default foreground color.

The default foreground is paired with the default background, if you change the default background, you must change the default foreground too.

btw, copilot --no-color is even worse:

Image

Affected version

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions