Replace a \r\n with an ordinary \n - this isn't Windows!
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 1 Nov 2002 12:54:51 +0000 (12:54 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 1 Nov 2002 12:54:51 +0000 (12:54 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2171 cda61777-01e9-0310-a592-d414129be87e

unix/uxcons.c

index 844b674..6b3da51 100644 (file)
@@ -290,7 +290,7 @@ int console_get_line(const char *prompt, char *str,
        str[i] = '\0';
 
        if (is_pw)
-           fputs("\r\n", stdout);
+           fputs("\n", stdout);
     }
     return 1;
 }