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

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':