Text-ANSI-Util
view release on metacpan or search on metacpan
($width-1) or less, depending on the width of the truncated wide
character, we need to pad the truncated text to go to $width.
0.05 2013-04-09 Released-By: SHARYANTO
[INCOMPATIBLE CHANGES]
- ta_{,mb}pad() now does not handle multiline text (the implementation
was incorrect after all, "" should've been padded to "xxx" and "a\n"
should've been padded to "axx\nxxx"). You can now split multiline text
by yourself as you see fit.
0.04 2013-04-08 Released-By: SHARYANTO
[BUG FIXES]
- ta_{,mb}wrap(): Handles multiple paragraph, fix bug where last word of
text is sometimes removed, do not remove terminating newline.
( run in 1.168 second using v1.01-cache-2.11-cpan-71847e10f99 )