pretty-print: take console glyph width into account when drawing progress bar
authorLennart Poettering <lennart@poettering.net>
Fri, 24 May 2024 11:56:10 +0000 (13:56 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 5 Jul 2024 18:00:04 +0000 (20:00 +0200)
commitfbfc88af5e8964e008c67bdac4c7d4060f0f99a3
tree1dad39ee15a9cb436d8f77eed8e0f7a7ffc1f4ed
parent058fca7e6c22b7bdc16dba396354c3355fb2b672
pretty-print: take console glyph width into account when drawing progress bar

So far this used string length, not character width. Fix that.

(cherry picked from commit 1ad4e37da164041605d18c28ee1868cf942f7857)
src/shared/pretty-print.c