diff options
Diffstat (limited to 'src/shared/pretty-print.h')
-rw-r--r-- | src/shared/pretty-print.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/pretty-print.h b/src/shared/pretty-print.h index 446f305b73..8ea1e964a3 100644 --- a/src/shared/pretty-print.h +++ b/src/shared/pretty-print.h @@ -54,9 +54,10 @@ int terminal_tint_color(double hue, char **ret); bool shall_tint_background(void); void draw_progress_bar(const char *prefix, double percentage); +int draw_progress_barf(double percentage, const char *prefixf, ...) _printf_(2, 3); void clear_progress_bar(const char *prefix); -void draw_progress_bar_impl(const char *prefix, double percentage); -void clear_progress_bar_impl(const char *prefix); +void draw_progress_bar_unbuffered(const char *prefix, double percentage); +void clear_progress_bar_unbuffered(const char *prefix); static inline FILE* enable_buffering(FILE *f, char *buffer, size_t size) { assert(f); |