perl-String-TtyLength - Length or width of string excluding ANSI tty codes

Edit Package perl-String-TtyLength

This module provides two functions which tell you the length and width of a
string as it will appear on a terminal (tty), excluding any ANSI escape codes.

'tty_length' returns the length of a string excluding any ANSI tty / terminal escape codes.

'tty_width' returns the number of columns on a terminal that the string will take up, also excluding any escape codes.

Refresh
Refresh
Source Files
Filename Size Changed
String-TtyLength-0.03.tar.gz 0000010967 10.7 KB
cpanspec.yml 0000000923 923 Bytes
perl-String-TtyLength.changes 0000000570 570 Bytes
perl-String-TtyLength.spec 0000002405 2.35 KB
Latest Revision
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 889507 from Tina Müller's avatar Tina Müller (tinita) (revision 2)
- updated to 0.03
   see /usr/share/doc/packages/perl-String-TtyLength/Changes
  0.03 2021-04-29 NEILB
      - SYNOPSIS was referring to Text::Table::Tiny (cut & paste error).
        Thanks to Jonas Smedegaard for reporting this (GH#1).
Comments 0
openSUSE Build Service is sponsored by