diff --git a/lib/stdio.c b/lib/stdio.c index a1b6985..87ddd87 100644 --- a/lib/stdio.c +++ b/lib/stdio.c @@ -9,6 +9,8 @@ spinlock_t printf_lock = 0; static inline void printf_out(char c) { + if(c == '\n') + serial_putchar('\r'); serial_putchar(c); }