CRLF before kernel panic msg

This commit is contained in:
Erin 2023-01-08 00:45:47 +01:00 committed by ondra05
parent 816204cd5b
commit 6d2a9c74d4

View file

@ -31,7 +31,7 @@ pub const VERSION: Version = Version {
fn panic(info: &core::panic::PanicInfo) -> ! {
// TODO: Better panic handler
let _ = crate::arch::log(format_args!(
"\x1b[1m\x1b[4m\x1b[38;5;125mKernel Panic\x1b[0m\r\n",
"\r\n\x1b[1m\x1b[4m\x1b[38;5;125mKernel Panic\x1b[0m\r\n",
));
if let Some(loc) = info.location() {