avoid double echo

This commit is contained in:
rsc 2007-08-28 04:26:19 +00:00
parent 7834cca604
commit 51c0c1a8fe

View file

@ -255,7 +255,6 @@ console_read(int minor, char *dst, int n)
break; break;
} }
*dst++ = c; *dst++ = c;
cons_putc(c);
--n; --n;
if(c == '\n') if(c == '\n')
break; break;