diff --git a/lib/log.c b/lib/log.c index 70347f88b..ad2f02b02 100644 --- a/lib/log.c +++ b/lib/log.c @@ -232,7 +232,7 @@ void log_vprint(struct log *l, const char *lvl, const char *fmt, va_list ap) #ifdef ENABLE_OPAL_ASYNC OpalPrint("VILLASnode: %s\n", buf); #endif - fprintf(l->file ? l->file : stderr, "%s\n", buf); + fprintf(l->file ? l->file : stderr, "\33[2K\r%s\n", buf); free(buf); }