================
@@ -95,8 +95,15 @@ bool ClangREPL::PrintOneVariable(Debugger &debugger,
if (m_implicit_expr_result_regex.Execute(var->GetName().GetStringRef()))
return true;
}
- if (llvm::Error error = valobj_sp->Dump(*output_sp))
- *output_sp << "error: " << toString(std::move(error));
+
+ {
+ // Suspend the statusline while printing to prevent its ANSI cursor
+ // save/restore sequences from interleaving with the output.
+ LockedStreamFile locked_stream = output_stream_sp->Lock();
----------------
JDevlieghere wrote:
You're right, I missed that we're passing it to `Dump`!
https://github.com/llvm/llvm-project/pull/183600
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits