blob: dfb5772a6d8900418dadec4928550aae0ff94c1e (
plain) (
blame)
1
2
3
4
5
6
|
String::TtyLength provides a single function, tty_length, which returns the
length of a string excluding any ANSI tty / terminal escape codes. I.e. the
number of characters that will appear on screen. This is useful if you're
working out the width of columns, or aligning text.
WWW: https://metacpan.org/release/String-TtyLength
|