blob: c65882d91fb5aa51d3343cea03675b2c549d35d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include <kernel/input/input.h>
#include <kernel/lib/string.h>
char *readline()
{
keyboard_clear_buffer();
while (keyboard_buffer[strlen(keyboard_buffer) - 1] != '\n') {}
return keyboard_buffer;
}
|