| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-String-TtyLength | Distribution: Mageia |
| Version: 0.30.0 | Vendor: Mageia.Org |
| Release: 3.mga10 | Build date: Fri Jun 27 05:37:22 2025 |
| Group: Development/Perl | Build host: localhost |
| Size: 29290 | Source RPM: perl-String-TtyLength-0.30.0-3.mga10.src.rpm |
| Packager: umeabot <umeabot> | |
| Url: https://metacpan.org/release/String-TtyLength | |
| Summary: Calculate length of string excluding ANSI tty codes | |
This module 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.
tty_length( STRING )
Takes a single string, and returns the length of the string, excluding
any escape sequences.
Note: the escape sequences could include cursor movement, so the length
returned by this function might not be the number of characters that
would be visible on screen. But
'length_of_string_excluding_escape_sequences()' was just too long.
GPLv1+ or Artistic
* Fri Jun 27 2025 umeabot <umeabot> 0.30.0-3.mga10 + Revision: 2207122 - Mageia 10 Mass Rebuild
/usr/share/doc/perl-String-TtyLength /usr/share/doc/perl-String-TtyLength/Changes /usr/share/doc/perl-String-TtyLength/LICENSE /usr/share/doc/perl-String-TtyLength/META.json /usr/share/doc/perl-String-TtyLength/META.yml /usr/share/doc/perl-String-TtyLength/MYMETA.yml /usr/share/doc/perl-String-TtyLength/README /usr/share/man/man3/String::TtyLength.3pm.xz /usr/share/perl5/vendor_perl/String /usr/share/perl5/vendor_perl/String/TtyLength.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Oct 24 09:02:03 2025