Open little-dude opened 6 years ago
Bump, any updates on this? @little-dude's code is gone as well somewhere
Oh thank you, forgive my laziness :smile:
I'm glad if it's helpful :)
I missed this issue. :/
Do you think this kind of stuff would be worth adding to tty-rs as a separte type, like AsyncTtyServer ?
Yes, that would be great! :)
You may need to add a feature gate for the Tokio dependency, though.
However, tty-rs is not MIT. ;)
However, tty-rs is not MIT. ;)
Oh, I hadn't noticed. If I use it as a dependency, I need to license my crate under GPL instead of MIT then, right?
Hi,
I'm trying to write an expect crate. The problem is, I want non-blocking IO on the master pty, so that I can implement timeouts. For now, I copy-pasted the
TtyServer
implementation and made the tokio integration: https://github.com/little-dude/expect-rs/blob/master/src/pty.rs.Do you think this kind of stuff would be worth adding to
tty-rs
as a separte type, likeAsyncTtyServer
?Thanks for this crate, I learnt a lot just about ttys just by reading your code :)