Closed martinlindhe closed 1 year ago
This patch fixes color display in Windows, when not running in a shell that takes care of this automatically.
If you run your go app thru Windows Powershell or Windows Terminal, they both take care of this automatically and you would not need this patch.
However, if you chose to use other shells such as bash, then without this patch you will only see ansi codes. More info in https://github.com/fatih/color/issues/169#issuecomment-1335995045
Seems that github closed this PR when I deleted my fork. Reopening.
Fixed with https://github.com/fatih/color/pull/186
This patch fixes color display in Windows, when not running in a shell that takes care of this automatically.
If you run your go app thru Windows Powershell or Windows Terminal, they both take care of this automatically and you would not need this patch.
However, if you chose to use other shells such as bash, then without this patch you will only see ansi codes. More info in https://github.com/fatih/color/issues/169#issuecomment-1335995045