aaronjanse / 3mux

Terminal multiplexer inspired by i3
MIT License
1.82k stars 45 forks source link

Error on mac os catalina #5

Closed dimm0 closed 4 years ago

dimm0 commented 4 years ago
  ~ go get github.com/aaronjanse/3mux
# github.com/aaronjanse/3mux
go/src/github.com/aaronjanse/3mux/shell.go:96:11: undefined: pty.Setsize
go/src/github.com/aaronjanse/3mux/shell.go:96:32: undefined: pty.Winsize
dimm0 commented 4 years ago

Now works

Gys commented 4 years ago

I had exactly the same problem just now. What did you do solve this?

aaronjanse commented 4 years ago

Could you tell me the output of (cd $GOPATH/src/github.com/kr/pty ; git rev-parse HEAD)?

Gys commented 4 years ago

Sure, I have 67e2db24c831afa6c64fc17b4a143390674365ef

aaronjanse commented 4 years ago

Thanks. It looks like go is using an old version of pty from 2014.

3mux now uses go modules. Could you try updating with go get -u github.com/aaronjanse/3mux?

Gys commented 4 years ago

Yes, working now! Thank you!

aaronjanse commented 4 years ago

Awesome! Thanks for helping me figure out the issue by running that git command!