diff --git a/src/kernel/tty/tty.c b/src/kernel/tty/tty.c index 809445c..2d63e9d 100644 --- a/src/kernel/tty/tty.c +++ b/src/kernel/tty/tty.c @@ -169,6 +169,7 @@ void tty_text_print(tty *ttyx, char *string, u32 color, u32 bgcolor) char c = *string; if (c == '\n') { // 换行 + putchar(ttyx, ' ', 0, 0); newline(ttyx); continue; }