We do want to print '\n'/'\r'.

Pointed out by:	stefanf
This commit is contained in:
Pawel Jakub Dawidek 2005-02-03 15:47:30 +00:00
parent 6513f57682
commit f3830f0482
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141208

View File

@ -45,6 +45,7 @@ gets(char *cp, size_t size, int visible)
switch (c) {
case '\n':
case '\r':
printf("%c", c);
*lp = '\0';
return;
case '\b':