Skip to content

Color support detection problem in git bash on windows #1292

@mlarcher

Description

@mlarcher

I recenlty update msysgit (windows version of git) from version 1.9.5 to 2.5.3. This updated the terminal it brings along (git-bash) to "GNU bash, version 4.3.42(2)-release (x86_64-pc-msys)".
I since then lost all colors from Gulp output.

Using --color as a parameter brings color back.
I assume something have changed on the way git-bash exposes its color support, and Gulp detection is not finding out the correct answer anymore.
I don't know how color support detection works in Gulp, but I can say that $TERM is exposing "xterm-256", which should be enough to assume color support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions