We do want to print '\n'/'\r'.
Pointed out by: stefanf
This commit is contained in:
parent
6513f57682
commit
f3830f0482
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user