chalk icon indicating copy to clipboard operation
chalk copied to clipboard

Explictly do not support Windows, avoid error codes

Open mkaz opened this issue 6 years ago • 0 comments

The Windows console does not support the same ANSI character codes, so when they are printed out it ends up looking like gibberish characters.

This PR avoids this by simply returning blank strings for the functions. This removes all color syntax for windows builds only.

Explanation for setting up platform conditional builds is here: https://dave.cheney.net/2013/10/12/how-to-use-conditional-compilation-with-the-go-build-tool


This change is Reviewable

mkaz avatar Aug 21 '19 03:08 mkaz