Inhibit UTF-8 based bar formats when UTF-8 output support is not detected, falling back to the default format instead.

This commit is contained in:
Andrew Wood
2024-12-13 20:17:01 +00:00
parent 60563f3e3c
commit 9f5923864b
3 changed files with 20 additions and 20 deletions
+1 -2
View File
@@ -466,8 +466,7 @@ long pv_seconds_remaining(const off_t, const off_t, const long double);
void pv_si_prefix(long double *, char *, const long double, pvtransfercount_t);
void pv_describe_amount(char *, size_t, char *, long double, char *, char *, pvtransfercount_t);
bool pv_barstyle(pvbarstyle_t, const char *);
int pv_display_barstyle_index(pvdisplay_t, const char *);
int pv_display_barstyle_index(pvformatter_args_t, const char *);
size_t pv_formatter_segmentcontent(char *, pvformatter_args_t);