-
I've dug through the sshd/terminal and original golang.org/x/term packages and can't work out how user input is being retained when new messages are rendered. When I use the Terminal type from my own application, writes to the Terminal are appended after the user input on the same line. I suspect there's some initialization occuring that I've missed that occurs in ssh-chat. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I was writing to the ssh server conn, not through the |
Beta Was this translation helpful? Give feedback.
-
Glad you figured it out. :) |
Beta Was this translation helpful? Give feedback.
I was writing to the ssh server conn, not through the
Terminal
type.