1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 02:55:07 +00:00

Everywhere: Convert a bunch of dbgprintf() to dbgln()

This commit is contained in:
Andreas Kling 2021-01-10 10:02:20 +01:00
parent 13e8a2a671
commit f35a723f61
16 changed files with 32 additions and 32 deletions

View file

@ -736,7 +736,7 @@ void Editor::handle_read_event()
case InputState::CSIExpectFinal: {
m_state = InputState::Free;
if (!(code_point >= 0x40 && code_point <= 0x7f)) {
dbgprintf("LibLine: Invalid CSI: %02x (%c)\r\n", code_point, code_point);
dbgln("LibLine: Invalid CSI: {:02x} ({:c})", code_point, code_point);
continue;
}
csi_final = code_point;
@ -797,10 +797,10 @@ void Editor::handle_read_event()
}
// ^[[5~: page up
// ^[[6~: page down
dbgprintf("LibLine: Unhandled '~': %d\r\n", param1);
dbgln("LibLine: Unhandled '~': {}", param1);
continue;
default:
dbgprintf("LibLine: Unhandled final: %02x (%c)\r\n", code_point, code_point);
dbgln("LibLine: Unhandled final: {:02x} ({:c})", code_point, code_point);
continue;
}
break;