It could say `&& strings.HasPrefix(os.Getenv("TERM"), "xterm")`
I suppose, or do some more thorough check, but I think these days
non-ANSI-capable terminals are rare enough for us not to care.