chalk
chalk copied to clipboard
Intuitive package for prettifying terminal/console output. http://godoc.org/github.com/ttacon/chalk
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...
Is this package supposed to support windows? Because in Command Prompt I get the following.
``` go chalk.Green.NewStyle().Style("✗") ``` does not give the same output as: ``` go chalk.Green.Color("✗") ```
Any suggestions on how to disable colors when the output is not to a terminal that supports color? I can use `golang.org/x/crypto/ssh/terminal`'s `terminal.IsTerminal` to detect it, but not sure how...