-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Not that I actually need it myself right now, but I was cross-compiling my app for completeness and got this:
# github.com/janeczku/go-spinner
../../Projects/Go/pkg/mod/github.com/janeczku/go-spinner@v0.0.0-20150530144529-cf8ef1d64394/spinner.go:39:25: cannot use syscall.Stdout (type syscall.Handle) as type int in argument to terminal.IsTerminal
Probably the simplest thing is either to assume that Windows is always a TTY, or never a TTY — probably the latter since I'm guessing there will be other issues. An explicit type assertion on syscall.Stdout
would probably take care of the compilation error; I can submit a PR if you think that makes sense.
chodyo, ChacaS0, oscartbeaumont and sozercan
Metadata
Metadata
Assignees
Labels
No labels