We do want to print '\n'/'\r'.
Pointed out by: stefanf
This commit is contained in:
parent
6513f57682
commit
f3830f0482
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141208
@ -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