Re: [dev] [slstatus] remove tab from fmt_human()

From: Mario Rosell <mario_AT_mariorosell.es>
Date: Sun, 14 Jun 2026 20:59:26 +0200

On 2026-06-07 23:15, drkhsh wrote:
> hi r1w1s1,
>
> it has been implemented in this way because of the following SI
> convention:
>
> https://www.nist.gov/pml/special-publication-330/sp-330-section-5
> (section 5.4.3 Formatting the value of a quantity)
>
> same should be in ISO 80000-1 and NIST SP 811 / SP 330 (the US
> interpretation of SI)
>
> however you are free to upload a pull request for that specific small-screen
> usecase to the wiki!
>
> regards
> drkhsh
>
> On Thu, May 14, 2026 at 09:49:40PM -0300, Ricardson wrote:
>> Hi,
>>
>> This pull request removes the tab between the numeric value and
>> the unit in fmt_human() output.
>>
>> This makes compact displays such as status bars easier to read.
>>
>> Example:
>>
>> Before:
>> 1.9 Gi
>>
>> After:
>> 1.9Gi
>>
>> ----
>> Kind regards,
>> Ricardson (r1w1s1)

Finally! This made me sick.

-- 
- mario
Received on Sun Jun 14 2026 - 20:59:26 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 15 2026 - 02:00:10 CEST