projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace a \r\n with an ordinary \n - this isn't Windows!
[u/mdw/putty]
/
unix
/
uxcons.c
diff --git
a/unix/uxcons.c
b/unix/uxcons.c
index
844b674
..
6b3da51
100644
(file)
--- a/
unix/uxcons.c
+++ b/
unix/uxcons.c
@@
-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;
}