Merge pull request #502 from abperiasamy/no-color-for-win

no color for win for now
This commit is contained in:
Anand Babu (AB) Periasamy
2015-04-23 03:14:27 -07:00
+4
View File
@@ -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"
}