forked from AbleOS/ableos
CRLF before kernel panic msg
This commit is contained in:
parent
816204cd5b
commit
6d2a9c74d4
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue