Store the calculated percentage as a double rather than an int, so the granular progress bar is still granular on wide displays.

This commit is contained in:
Andrew Wood
2024-12-14 17:06:37 +00:00
parent 18c76175b2
commit f0aca0a2ce
9 changed files with 28 additions and 23 deletions
+1
View File
@@ -3,6 +3,7 @@
* *feature:* new **--bar-style** option to change the default bar style ([#15](https://codeberg.org/a-j-wood/pv/issues/15))
* *feature:* new bar formats "**%{bar-plain}**", "**%{bar-block}**", "**%{bar-granular}**", "**%{bar-shaded}**" ([#15](https://codeberg.org/a-j-wood/pv/issues/15))
* *feature:* allow decimal values such as "1.5G" with "**--size**", "**--rate-limit**", "**--buffer-size**", and "**error-skip-block**" ([#35](https://codeberg.org/a-j-wood/pv/issues/35))
* *cleanup:* track transfer percentage as a floating point value for better precision (and rounding)
* *docs:* simplified the synopsis section of the manual
### 1.9.15 - 8 December 2024