The source project of this merge request has been removed.
read_stdin should strip either "\r\n" or "\n" as line ending on Windows
One user reports that Windows 10 1909 is sending \n
alone as a line ending. #113 (comment 313304956)
This MR makes read_stdin
handle either \r\n
or just \n
on Windows. It's intended to make echo password | openconnect
less finicky on Windows.
Signed-off-by: Daniel Lenski dlenski@gmail.com