mirror of https://github.com/tidwall/tile38.git
fixes #28 windows cmd error
This commit is contained in:
parent
e766dd75ae
commit
988e6e5fcc
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue