From 6d2a9c74d4e0504b5e18f7fdb7808a6cfd1b58b3 Mon Sep 17 00:00:00 2001 From: Erin Date: Sun, 8 Jan 2023 00:45:47 +0100 Subject: [PATCH] CRLF before kernel panic msg --- kernel/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/lib.rs b/kernel/src/lib.rs index b7a9c0e..605faf7 100644 --- a/kernel/src/lib.rs +++ b/kernel/src/lib.rs @@ -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() {