Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go get github.com/hoisie/web: ttycolors.go error #215

Open
maulerjan opened this issue Sep 5, 2018 · 4 comments
Open

go get github.com/hoisie/web: ttycolors.go error #215

maulerjan opened this issue Sep 5, 2018 · 4 comments

Comments

@maulerjan
Copy link

Windows 10 x64, go version go1.11 windows/amd64

go get github.com/hoisie/web

results in

..\github.com\hoisie\web\ttycolors.go:25:24: cannot use syscall.Stdout (type syscall.Handle) as type int in argument to terminal.IsTerminal
@jerrywu65
Copy link

I got the same error.Have u solved it?

@pytomtoto
Copy link

Any solution?

@L4B0MB4
Copy link

L4B0MB4 commented May 17, 2019

Same issue here. Windows 10 x64, go version go1.25

@Sw4mpf0x
Copy link

This can be fixed by type casting the syscall.Stdout argument as an int:
#222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants