From e99d51e81ffb61ea287fb073465e0db1c75360df Mon Sep 17 00:00:00 2001 From: pointer-to-bios Date: Sun, 4 Feb 2024 20:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=8D=A2=E8=A1=8C=E6=97=B6?= =?UTF-8?q?=E5=85=89=E6=A0=87=E5=88=B7=E6=96=B0=E5=90=8E=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E5=85=89=E6=A0=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/kernel/tty/tty.c | 1 + 1 file changed, 1 insertion(+) 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; }