diff --git a/convey/reporting/init.go b/convey/reporting/init.go index 976e8179..2a6e4b94 100644 --- a/convey/reporting/init.go +++ b/convey/reporting/init.go @@ -84,7 +84,8 @@ func monochrome() { } func isColorableTerminal() bool { - return strings.Contains(os.Getenv("TERM"), "color") + term := os.Getenv("TERM") + return strings.Contains(term, "color") || strings.Contains(term, "xterm") } // This interface allows us to pass the *testing.T struct