Improve stdout when logging messages.

This commit is contained in:
Christian Deacon
2025-02-26 17:59:47 -05:00
parent 04e2f5b21a
commit ca933d4a12

View File

@@ -45,7 +45,10 @@ static void LogMsgRaw(int req_lvl, int cur_lvl, int error, const char* log_path,
// If we're calculating stats, we need to prepend a new line. // If we're calculating stats, we need to prepend a new line.
if (doing_stats) if (doing_stats)
{ {
printf("\033[F");
fprintf(pipe, "\n%s\n", full_msg); fprintf(pipe, "\n%s\n", full_msg);
} }
else else
{ {