henrycatalinismith / ppl

The command line address book
http://henry.catalinismith.com/ppl/
Other
300 stars 18 forks source link

Colorized and aligned custom address book format #77

Closed fabrepe closed 3 years ago

fabrepe commented 6 years ago

In this issue, I refer to the ls command. I'm not aware if this would be applicable to some other commands.

Default formatting is clean: man can simply configure colors and output is aligned (using table class). The ability to modify the output format is also a powerfull feature. However, custom formats does not follow neither the configured ls colorscheme, nor the dynamic alignment, even if '%-\d*.' allows padding.

henrycatalinismith commented 3 years ago

You can probably put your own color code escapes in your custom format strings actually! If anyone swings by this issue searching for a workaround for this problem then that's probably your best bet!

https://tldp.org/pub/Linux/docs/ldp-archived/linuxfocus/English/Archives/lf-2004_05-0335.pdf