gcla / gowid

Compositional widgets for terminal user interfaces, written in Go, inspired by urwid.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

broken on go 1.15.2?

alexanderturner opened this issue · comments

Could be me?

~ go get github.com/gcla/gowid/...                                             
# github.com/gcla/gowid
../../gcla/gowid/app.go:828:25: cannot convert defSt.OnOff (type tcell.AttrMask) to type tcell.Style
../../gcla/gowid/decoration.go:485:20: cannot convert st.OnOff (type tcell.AttrMask) to type tcell.Style
../../gcla/gowid/decoration.go:924:27: constant -2 overflows tcell.Color
../../gcla/gowid/decoration.go:931:7: constant -2 overflows tcell.Color
~ go version                                                                               
go version go1.15.2 darwin/amd64

Thanks @alexanderturner , I'll look at this asap...

Hi @alexanderturner - any chance you have GO111MODULE turned off? I tried this

mkdir foo
cd foo
go mod init foo
go get github.com/gcla/gowid/...

or

go get github.com/gcla/gowid@master

That seemed to work. I'm on go 1.15 linux/amd64

$ env | grep GO
GO111MODULE=on

That did it! Thanks for your responsiveness and glad this was a really easy one :)