Changes for version 0.01_03 - 2020-09-11
- The C function wcswidth() used by Text::CharWidth needs LANG to be set, otherwise you essentially get nonsense back. So now tty_width() checks for that before trying to be smart. Set the test case to default to "en_US.UTF-8", just to see how that works out with CPAN Testers.
Changes for version 0.01_02 - 2020-09-11
- Lots of CPAN Testers fails, so put some diagnostics in the tests, as there's one test failing that I really didn't expect.
Changes for version 0.01_01 - 2020-09-10
- Added tty_width() which tries to return the number of columns that the string will take up on a terminal.
- Renamed the basic.t test file as tty_length.t
length or width of string excluding ANSI tty codes