[kgets] Fix yet another ^L bug
This commit is contained in:
parent
d8cbf27e08
commit
7a2741cc55
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user