1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +00:00

Everywhere: Replace a bundle of dbg with dbgln.

These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.
This commit is contained in:
asynts 2021-01-12 14:11:44 +01:00 committed by Andreas Kling
parent 6b7602d33b
commit adbb8d62d1
6 changed files with 18 additions and 18 deletions

View file

@ -893,7 +893,7 @@ void Terminal::on_input(u8 ch)
m_parser_state = Normal;
return;
} else {
dbg() << "Unexpected character in GotEscape '" << (char)ch << "'";
dbgln("Unexpected character in GotEscape '{}'", (char)ch);
m_parser_state = Normal;
}
return;
@ -919,7 +919,7 @@ void Terminal::on_input(u8 ch)
if (ch == '\\')
execute_xterm_command();
else
dbg() << "Unexpected string terminator: " << String::format("%02x", ch);
dbgln("Unexpected string terminator: {:#02x}", ch);
m_parser_state = Normal;
return;
case ExpectParameter:
@ -1216,7 +1216,7 @@ void Terminal::execute_hashtag(u8 hashtag)
}
break;
default:
dbg() << "Unknown hashtag: '" << hashtag << "'";
dbgln("Unknown hashtag: '{}'", (char)hashtag);
}
}