From cd1e6529dbae8e8b76927a51ec545ff1143f9011 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Fri, 17 Jun 2022 09:46:48 +0200 Subject: [PATCH] Fix ansi_printf_raw() in no color mode --- src/print.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/print.h b/src/print.h index 4546bad..edb9aea 100644 --- a/src/print.h +++ b/src/print.h @@ -52,7 +52,7 @@ extern char ansi_format[]; #define ansi_printf_raw(format, args...) \ { \ if (option.color < 0) \ - fprintf (stdout, "\r" format "\r\n", ## args); \ + fprintf (stdout, format, ## args); \ else \ fprintf (stdout, "%s" format ANSI_RESET, ansi_format, ## args); \ fflush(stdout); \