Closed ahedberg closed 1 year ago
Fixes #1142
I don't think this fixes anything? In the prior mosh-server code, that read/write on the pty are before any user data passes across it, the newline should never be seen by the user. The problems with excess newlines are in mosh.pl, at least in my experience.
I am concerned about the additional complexity added by this commit. At the very least, CLOEXEC
should be set on the pipe fds.
that read/write on the pty are before any user data passes across it, the newline should never be seen by the user.
Empirically, it is being seen by the user.
@ahedberg I fixed the CI config, I believe if you rebase and push CI should be clean.
Fixes #1142