增加内核日志功能 #3

Merged
pointer-to-bios merged 17 commits from pointer-to-bios/metaverse-dev:main into main 2024-02-05 22:10:26 +08:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit e99d51e81f - Show all commits

View File

@ -169,6 +169,7 @@ void tty_text_print(tty *ttyx, char *string, u32 color, u32 bgcolor)
char c = *string; char c = *string;
if (c == '\n') if (c == '\n')
{ // 换行 { // 换行
putchar(ttyx, ' ', 0, 0);
newline(ttyx); newline(ttyx);
continue; continue;
} }