[panic.serial] Line up the header with the registers
The serial panic handler was outputting a header underlined by = characters, but its width did not match that of the register output.
This commit is contained in:
@@ -9,9 +9,9 @@ namespace panic {
|
||||
void
|
||||
print_header(serial_port &out, const char *message)
|
||||
{
|
||||
out.write("\n\n \e[5;31mPANIC:\e[0;1;31m ");
|
||||
out.write("\n\n\e[5;31m PANIC:\e[0;1;31m ");
|
||||
out.write(message);
|
||||
out.write("\n \e[0;31m=====================================================================\n");
|
||||
out.write("\n \e[0;31m===================================================================================\n");
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user