wp-cli / php-cli-tools

A collection of tools to help with PHP command line utilities
MIT License
674 stars 118 forks source link

Incorrect table column width calculcations with colorized strings #106

Closed schlessera closed 7 years ago

schlessera commented 7 years ago

The column widths in a formatted table are incorrectly calculated when the strings have been ran through WP_CLI::colorize() before.

screenshot 2017-06-27 11 44 27

According to https://github.com/wp-cli/php-cli-tools/pull/69, this should be fixed, so there might have been a regression in meantime.

danielbachhuber commented 7 years ago

Fixed in #111