fix(kernel): reset color even on serial output

This commit is contained in:
EnderIce2 2025-04-19 19:19:26 +00:00
parent 80c313b02d
commit ba99275700
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E

View File

@ -115,6 +115,10 @@ EXTERNC void KPrint(const char *Format, ...)
va_start(args, Format);
vfctprintf(uart_wrapper, nullptr, Format, args);
va_end(args);
uart_wrapper('\x1b', nullptr);
uart_wrapper('[', nullptr);
uart_wrapper('0', nullptr);
uart_wrapper('m', nullptr);
uart_wrapper('\n', nullptr);
#endif
}