On 11/10/2023 13:40, Kamil Konieczny wrote:
Hi Tvrtko,
On 2023-10-11 at 09:38:44 +0100, Tvrtko Ursulin wrote:
From: Tvrtko Ursulin <[email protected]>

Padding the percentage bars and table columns with spaces happens quite a
lot so lets do better than putchar at a time. Have a table of visually
empty strings and build the required length out of those chunks.

While at it, also move the percentage bar table into its function scope.

v2:
  * Fix checkpatch and use ARRAY_SIZE. (Kamil)

Signed-off-by: Tvrtko Ursulin <[email protected]>
Cc: Kamil Konieczny <[email protected]>

Reviewed-by: Kamil Konieczny <[email protected]>

Thanks Kamil, now pushed!

Regards,

Tvrtko

Reply via email to