Creating a pty.
#3465
Replies: 1 comment
-
I'd suggest starting with https://github.com/wez/wezterm/blob/main/pty/examples/whoami.rs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having trouble understanding, which parts am missing here.
AFAIK, is that in order to create a pty in unix generally, you will need a master and slave, comunicating with eachother functioning as a terminal session eventually.
My goal is to create a pty, and keep it open for reads/writes, till i request to destroy it later on.
In this example I am trying to figure out what the crate has to offer, running this will output nothing, which I also struggling to understand why.
Any pointers are appreciated. Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions