Replace a \r\n with an ordinary \n - this isn't Windows!
[u/mdw/putty] / 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;
 }