mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix ansi_printf_raw() in no color mode
This commit is contained in:
parent
dba77eb912
commit
cd1e6529db
1 changed files with 1 additions and 1 deletions
|
|
@ -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); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue