diff --git a/codon/util/common.cpp b/codon/util/common.cpp index 73742648..31fb3600 100644 --- a/codon/util/common.cpp +++ b/codon/util/common.cpp @@ -26,10 +26,10 @@ void compilationMessage(const std::string &header, const std::string &msg, case MessageGroupPos::HEAD: break; case MessageGroupPos::MID: - fmt::print("├─ "); + fmt::print(out, "├─ "); break; case MessageGroupPos::LAST: - fmt::print("╰─ "); + fmt::print(out, "╰─ "); break; }