Closed Faexa closed 6 years ago
@Faexa Thanks for using this library. I will look into it. PR also welcome.
@Faexa Can you please provide an example usage how to add colors? I mean reproducing step.
@dblencowe I've merged your PR. Thanks for your contribution
Hi, First, thank you for this code ! If you use terminal colors / text decoration for example:
the table alignment is broken This is probably due to strlen($col) in calculateColumnWidth function, counting everything in the string, wich end up not printed on cli.
You should remove every extra caracters before counting string lengh, with for example
(found here: https://stackoverflow.com/questions/40731273/php-remove-terminal-codes-from-string)