Skip to content

Terminal color output not displaying as expected  #6711

@laballab

Description

@laballab

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.900]
Windows Terminal version (if applicable): Version: 1.0.1401.0

All steps/tests are done in a git-bash profile in windows terminal. 

Steps to reproduce

I can consistently reproducing this issue by running k9s with invalid kubeconfig. K9s will output a red-colored warning regarding this which is not rendered properly on windows terminal.

Expected behavior

A colorful error message warning us about the invalid kubeconfig:
image

Actual behavior

Windows terminal is not rendering the color output properly:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions