FreeBSD.software
Home/textproc/p5-String-TtyLength

p5-String-TtyLength

0.03

Calculate length of string excluding ANSI tty codes

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.

Origin: textproc/p5-String-TtyLength
Category: textproc
Size: 42.2KiB
License: ART10, GPLv1+
Maintainer: sunpoet@FreeBSD.org
Dependencies: 2 packages
Required by: 2 packages
$pkg install p5-String-TtyLength

Dependencies (2)

Required By (2 packages)

More in textproc