From 94d89c2181b32920b92ed564b3309dbf05175c09 Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Thu, 23 Apr 2015 03:10:36 -0700 Subject: [PATCH] no color for win for now --- pkg/console/console.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/console/console.go b/pkg/console/console.go index 8e0dbaa8..107322a3 100644 --- a/pkg/console/console.go +++ b/pkg/console/console.go @@ -19,6 +19,7 @@ package console import ( "fmt" "os" + "runtime" "sync" "github.com/fatih/color" @@ -137,6 +138,9 @@ func GetThemeName() string { // GetDefaultThemeName returns the default theme func GetDefaultThemeName() string { + if runtime.GOOS == "windows" { + return "nocolor" + } return "minimal" }