[Aptitude-devel] Bug#759771: Allow to align sizes/size differences used in format strings

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Wed May 4 15:58:25 UTC 2016


Control: close -1

Hi,

2014-08-30 07:03 Benny Baumann:
>Package: aptitude
>Version: 0.6.11-1
>Severity: minor
>
>Let's assume I was using something along the lines of
>
>    %c%a%M%S %?i %p# %Z %10D %10I %4r %20v %20V %t
>
>for the display format of package lists. Now this looks much better than the
>default but due to the lack of aligning numbers of the included sizes it
>always requires  second look to see the actual sizes. It would be better,
>if all sizes could be right aligned with the empty SI prefix treated as
>a space, thus instead of
>
>    1,234 B
>    12.9 kB
>    789 kB
>
>I'd get something like
>
>    1,234.5 kB
>       12.9 kB
>      789.7 kB

This is basically a duplicate of #323303, so closing.

(Could be merged, but since the other covers all aspects, merging will
only cause to spend extra time when reviewing the other).


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list