Re: display thousands separator in file size



On 2016-09-26 19:15, Mooffie wrote:

In lib/utils.c find the function size_trunc_len(). Change the three
character string "%" (there's only one there!) to "%'". But now the
separators will consume space and the size column will cut off a digit
or two. So go to "Listing mode", choose "User defined", and change
"size" to "size:10" to give it 10 columns (or more). But, as I
explained, you'll sooner or later find that it's not perfect.

changed the code, recompiled, and set Listing mode size to "size:16"

everything seems to work perfectly now

thanks a lot


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]