aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/stdio/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib/stdio/readline.c')
-rw-r--r--src/kernel/lib/stdio/readline.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/kernel/lib/stdio/readline.c b/src/kernel/lib/stdio/readline.c
index c65882d..1bda252 100644
--- a/src/kernel/lib/stdio/readline.c
+++ b/src/kernel/lib/stdio/readline.c
@@ -3,7 +3,8 @@
char *readline()
{
- keyboard_clear_buffer();
- while (keyboard_buffer[strlen(keyboard_buffer) - 1] != '\n') {}
- return keyboard_buffer;
+ keyboard_clear_buffer();
+ while (keyboard_buffer[strlen(keyboard_buffer) - 1] != '\n') {
+ }
+ return keyboard_buffer;
} \ No newline at end of file