Terminal: Put debug spam in unimplemented_control_code() behind a flag

This commit is contained in:
Andreas Kling 2021-07-03 17:08:37 +02:00
parent 3c3e5ffe2f
commit 234d53a324
Notes: sideshowbarker 2024-07-18 09:25:35 +09:00

View file

@ -1366,7 +1366,7 @@ void Terminal::handle_key_press(KeyCode key, u32 code_point, u8 flags)
void Terminal::unimplemented_control_code(u8 code)
{
dbgln("Unimplemented control code {:02x}", code);
dbgln_if(TERMINAL_DEBUG, "Unimplemented control code {:02x}", code);
}
void Terminal::unimplemented_escape_sequence(Intermediates intermediates, u8 last_byte)