fatih / color

Color package for Go (golang)
https://pkg.go.dev/github.com/fatih/color
MIT License
7.36k stars 619 forks source link

support 256 color on windows #25

Closed mattn closed 8 years ago

mattn commented 8 years ago

I'm thinking this is better for support 256 color. go-colorable round the color code into suitable values in on the windows 16-colors.

This is really 256 color displayed on mintty terminal.

Before applying this patch

After applying this patch

fatih commented 8 years ago

This looks awesome @mattn. Thanks. It makes sense to move change the library.