logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Term::Choose::LineFold::XS - XS acceleration for Term-Choose-LineFold

Author

       Matthäus Kiem <cuer2s@gmail.com>

Description

Width in this context refers to the number of occupied columns of a character string on a terminal with a
       monospaced font.

       By default ambiguous width characters are treated as half width. If the environment variable
       "TC_AMBIGUOUS_WIDTH_IS_WIDE" is set to a true value, ambiguous width characters are treated as full
       width.

   Perlversion
       Requires Perl version 5.16.0 or greater.

Export

       Nothing by default.

           use Term::Choose::LineFold::XS qw( print_columns );

Functions

print_columns
       Get the number of occupied columns of a character string on a terminal.

       The string passed to this function is a decoded string, free of control characters, non-characters, and
       surrogates.

           $print_width = print_columns( $string );

Name

       Term::Choose::LineFold::XS - XS acceleration for Term-Choose-LineFold

Version

       Version 0.001

return

See Also