Handle wide characters and ECMA-48 CSI sequences in the format string when calculating string widths.

This commit is contained in:
Andrew Wood
2024-12-08 21:38:38 +00:00
parent f495303177
commit 35d5b9efab
12 changed files with 664 additions and 595 deletions
+1
View File
@@ -5,6 +5,7 @@
* *feature:* new **--format** sequences "**%{progress-bar-only}**" and "**%{progress-amount-only}**"
* *fix:* allow **--format** to include "%nA" more than once, with different "n" values (#122)
* *fix:* allow **--format** to include "%p" more than once
* *fix:* calculate width correctly when wide characters are in **--format** strings
* *fix:* add _configure_ script fallback for **--remote** check when cross-compiling (#120)
* *fix:* allow **extra-display** to be changed by **--remote** (#123)
* *cleanup:* refactored display formatters into separate functions