Back to godoc.org
Package terminal contains helper for the terminal, such as coloring output.
Error colorizes the string in a colour that grabs attention.
func IsTerminal ¶
IsTerminal return true if the file descriptor is terminal and the TERM environment variable isn't a dumb one.
Documentation was rendered with GOOS=linux and GOARCH=amd64.