[Lldb-commits] [PATCH] D120972: [lldb] Show progress events in the command line driver
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 4 15:23:35 PST 2022
aprantl added a comment.
This is pretty (and) awesome.
================
Comment at: lldb/source/Core/Debugger.cpp:1670
+ if (event_type & Debugger::eBroadcastBitProgress)
+ HandleProgressEvent(event_sp);
}
----------------
side note: this function could benefit from some early exits.
================
Comment at: lldb/source/Core/Debugger.cpp:1762
+ if (data->GetCompleted()) {
+ output.Printf("\33[2K\r");
+ return;
----------------
I guess Colors also implies it supports \r? Sure.
Can you comment what this escape sequence does?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120972/new/
https://reviews.llvm.org/D120972
More information about the lldb-commits
mailing list