mattn / go-tty

MIT License
211 stars 18 forks source link

refactor: Move non system specific code form tty_window.go to tty.go #41

Closed ghost closed 3 years ago

ghost commented 3 years ago

Types like TTY are defined in tty_windows.go

ghost commented 3 years ago

sorry, i didn't understand how go code is organized, TTY is also defined in tty_unix.go

ghost commented 3 years ago

shouldn't tty.in be opened with O_RDONLY?