// supportedTerminal checks if the terminal supports ansi escapes.

supportedTerminal checks if the terminal supports ansi escapes.
// supportedTerminal checks if the terminal supports ansi escapes .
func supportedTerminal() bool {
	term := os.Getenv("TERM")
	for _, t := range unsupported {
		if t == term {
			return false
		}
	}
	return true
}
func supportedTerminal ( ) bool { term := os . Getenv ( " " ) for _ , t := range unsupported { if t == term { return false } } return true }
supportedTerminal checks if the terminal supports ansi escapes.
supportedTerminal checks if the terminal supports ansi escapes .