fixes #28 windows cmd error

This commit is contained in:
Josh Baker 2016-07-22 11:10:30 -07:00
parent e766dd75ae
commit 988e6e5fcc
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ func main() {
return return
} }
if !raw && !tty { if !raw && !tty && runtime.GOOS != "windows" {
fi, err := os.Stdout.Stat() fi, err := os.Stdout.Stat()
if err != nil { if err != nil {
fmt.Fprintln(os.Stderr, err.Error()) fmt.Fprintln(os.Stderr, err.Error())