mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
LibVT: Fixed some debugging code that didn't compile
This commit is contained in:
parent
d27e5a77e7
commit
194f85431f
Notes:
sideshowbarker
2024-07-19 11:00:59 +09:00
Author: https://github.com/xeons Commit: https://github.com/SerenityOS/serenity/commit/194f85431f0 Pull-request: https://github.com/SerenityOS/serenity/pull/833
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
#include <AK/StringBuilder.h>
|
||||
#include <LibVT/Terminal.h>
|
||||
|
||||
//#define TERMINAL_DEBUG
|
||||
|
||||
namespace VT {
|
||||
|
||||
Terminal::Terminal(TerminalClient& client)
|
||||
|
@ -640,8 +642,8 @@ void Terminal::execute_escape_sequence(u8 final)
|
|||
dbgprintf("\n");
|
||||
for (auto& line : m_lines) {
|
||||
dbgprintf("Terminal: Line: ");
|
||||
for (int i = 0; i < line->length; i++) {
|
||||
dbgprintf("%c", line->characters[i]);
|
||||
for (int i = 0; i < line.m_length; i++) {
|
||||
dbgprintf("%c", line.characters[i]);
|
||||
}
|
||||
dbgprintf("\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue