Re: [hackers] [slstatus][PATCH] suggestion: add user defined format callback

From: Aaron Marcher <me_AT_drkhsh.at>
Date: Thu, 17 May 2018 21:59:34 +0200

Tobias,

> What do you think about a callback function where the user could
> define more precisely how formatting is done (like adding symbols for
> percentages etc.)

I really like the idea and your proof of concept. Thanks for coming up
with this!
However I'd suggest to implement this more general and flexible in some
way. Maybe we could create different general formatting functions which
apply for example to percentage.
Also, I am not sure if it would be better to add these functions
post-first-release.
What do you think?

Cheers!
Aaron

-- 
Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
GPG: 0x7A65E38D55BE96FE
Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE
Received on Thu May 17 2018 - 21:59:34 CEST

This archive was generated by hypermail 2.3.0 : Thu May 17 2018 - 22:00:25 CEST