[kgets] Fix yet another ^L bug

This commit is contained in:
Kevin Lange 2011-10-22 19:17:35 -05:00
parent d8cbf27e08
commit 7a2741cc55

View File

@ -177,6 +177,7 @@ kgets(
kgets_collected = 0;
kgets_want = size;
kgets_newline = 0;
kgets_buffer[0] = '\0';
/* Assign the keyboard handler */
keyboard_buffer_handler = kgets_handler;
while ((kgets_collected < size) && (!kgets_newline)) {