mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-25 22:14:34 +00:00
fix(kernel): reset color even on serial output
This commit is contained in:
parent
80c313b02d
commit
ba99275700
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user