mattn / go-tty

MIT License
208 stars 18 forks source link

adds OpenDevice(path string) #29

Closed tgirod closed 4 years ago

tgirod commented 4 years ago

I modified the code so the TTY is not hard coded. That way it is possible to use go-tty to access any tty (in my case, I needed it to access a serial console).

I didn't test it extensively, but so far, so good.

mattn commented 4 years ago

Thank you