mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
Libraries: Unbreak building with extra debug macros
This commit is contained in:
parent
081bb29626
commit
d8e22fedc3
Notes:
sideshowbarker
2024-07-19 03:02:23 +09:00
Author: https://github.com/BenWiederhake
Commit: d8e22fedc3
Pull-request: https://github.com/SerenityOS/serenity/pull/3314
8 changed files with 23 additions and 17 deletions
|
@ -706,8 +706,12 @@ void Terminal::execute_escape_sequence(u8 final)
|
|||
dbgprintf("\n");
|
||||
for (auto& line : m_lines) {
|
||||
dbgprintf("Terminal: Line: ");
|
||||
for (int i = 0; i < line.m_length; i++) {
|
||||
dbgprintf("%c", line.characters[i]);
|
||||
for (int i = 0; i < line.length(); i++) {
|
||||
u32 codepoint = line.code_point(i);
|
||||
if (codepoint < 128)
|
||||
dbgprintf("%c", (char)codepoint);
|
||||
else
|
||||
dbgprintf("<U+%04x>", codepoint);
|
||||
}
|
||||
dbgprintf("\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue