mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +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.Everything: The modifications in this commit were automatically made using the following command: find . -name '*.cpp' -exec sed -i -E 's/dbg\(\) << ("[^"{]*");/dbgln\(\1\);/' {} \;
This commit is contained in:
parent
40b8e21115
commit
938e5c7719
95 changed files with 331 additions and 331 deletions
|
@ -1548,7 +1548,7 @@ Vector<size_t, 2> Editor::vt_dsr()
|
|||
if (nread == 0) {
|
||||
m_input_error = Error::Empty;
|
||||
finish();
|
||||
dbg() << "Terminal DSR issue; received no response";
|
||||
dbgln("Terminal DSR issue; received no response");
|
||||
return { 1, 1 };
|
||||
}
|
||||
length += nread;
|
||||
|
@ -1559,13 +1559,13 @@ Vector<size_t, 2> Editor::vt_dsr()
|
|||
auto parts = StringView(buf + 2, length - 3).split_view(';');
|
||||
auto row_opt = parts[0].to_int();
|
||||
if (!row_opt.has_value()) {
|
||||
dbg() << "Terminal DSR issue; received garbage row";
|
||||
dbgln("Terminal DSR issue; received garbage row");
|
||||
} else {
|
||||
row = row_opt.value();
|
||||
}
|
||||
auto col_opt = parts[1].to_int();
|
||||
if (!col_opt.has_value()) {
|
||||
dbg() << "Terminal DSR issue; received garbage col";
|
||||
dbgln("Terminal DSR issue; received garbage col");
|
||||
} else {
|
||||
col = col_opt.value();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue