Fix ansi_printf_raw() in no color mode

This commit is contained in:
Martin Lund 2022-06-17 09:46:48 +02:00
parent dba77eb912
commit cd1e6529db

View file

@ -52,7 +52,7 @@ extern char ansi_format[];
#define ansi_printf_raw(format, args...) \ #define ansi_printf_raw(format, args...) \
{ \ { \
if (option.color < 0) \ if (option.color < 0) \
fprintf (stdout, "\r" format "\r\n", ## args); \ fprintf (stdout, format, ## args); \
else \ else \
fprintf (stdout, "%s" format ANSI_RESET, ansi_format, ## args); \ fprintf (stdout, "%s" format ANSI_RESET, ansi_format, ## args); \
fflush(stdout); \ fflush(stdout); \