Skip to content

Commit

Permalink
Print function updated
Browse files Browse the repository at this point in the history
  • Loading branch information
talha-10xE committed Nov 30, 2023
1 parent 8bd5846 commit 4ad89ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lldb/source/Utility/Stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ void Stream::PutCStringColorHighlighted(llvm::StringRef text,
llvm::StringRef remaining = text;
std::string format_str = lldb_private::ansi::FormatAnsiTerminalCodes(
"${ansi.fg.red}%.*s${ansi.normal}");

while (reg_pattern.match(remaining, &matches)) {
llvm::StringRef match = matches[0];
size_t match_start_pos = match.data() - remaining.data();
Expand Down

0 comments on commit 4ad89ab

Please sign in to comment.