mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Cleanup stdout flushing
Flushing is not needed since we disabled buffering of stdout.
This commit is contained in:
parent
4c611e6767
commit
a0f3f9d9b7
4 changed files with 1 additions and 11 deletions
|
|
@ -37,7 +37,6 @@ extern char ansi_format[];
|
|||
fprintf (stdout, "\r" format "\r\n", ## args); \
|
||||
else \
|
||||
fprintf (stdout, "\r%s" format ANSI_RESET "\r\n", ansi_format, ## args); \
|
||||
fflush(stdout); \
|
||||
}
|
||||
|
||||
#define ansi_error_printf(format, args...) \
|
||||
|
|
@ -55,7 +54,6 @@ extern char ansi_format[];
|
|||
fprintf (stdout, format, ## args); \
|
||||
else \
|
||||
fprintf (stdout, "%s" format ANSI_RESET, ansi_format, ## args); \
|
||||
fflush(stdout); \
|
||||
}
|
||||
|
||||
#define warning_printf(format, args...) \
|
||||
|
|
@ -66,7 +64,6 @@ extern char ansi_format[];
|
|||
fprintf (stdout, "\r[%s] Warning: " format "\r\n", current_time(), ## args); \
|
||||
else \
|
||||
ansi_printf("[%s] Warning: " format, current_time(), ## args); \
|
||||
fflush(stdout); \
|
||||
}
|
||||
|
||||
#define tio_printf(format, args...) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue