Hi! I was tackling a similar problem and creack's pty might be a bit too abstracted for what you want. I just used the golang standard xterm terminal emulator https://pkg.go.dev/golang.org/x/term and a pipe. #1
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
enhancement
New feature or request
wontfix
This will not be worked on
Hi! I was tackling a similar problem and creack's pty might be a bit too abstracted for what you want. I just used the golang standard xterm terminal emulator https://pkg.go.dev/golang.org/x/term and a pipe.
Here's a partial snippet as an example of what I mean. Your stdin stream is fed into the
stdin_writer
and your stdout is written to thewriter
, don't forget toFlush()
!Originally posted by @lgmugnier in creack/pty#153 (comment)
The text was updated successfully, but these errors were encountered: