Closed ichizok closed 2 years ago
There are some compile errors on OpenIndiana (Golang 1.17).
% go run _example/readline.go # github.com/mattn/go-tty ./tty_unix.go:40:34: undefined: syscall.SYS_IOCTL ./tty_unix.go:46:34: undefined: syscall.SYS_IOCTL ./tty_unix.go:67:31: undefined: syscall.SYS_IOCTL ./tty_unix.go:78:34: undefined: syscall.SYS_IOCTL
Rewrote syscall callings by using golang.org/x/sys/unix package.
LGTM
Thank you
There are some compile errors on OpenIndiana (Golang 1.17).
Rewrote syscall callings by using golang.org/x/sys/unix package.