get number of occupied columns of a string on terminal
Project homepage: https://metacpan.org/release/Text-CharWidth
Description
This module allows determining the display width of strings, mostly
useful with multibyte character encodings. It provides functionality
equivalent to C's wcwidth(3), wcswidth(3) and mblen(3).
While most characters have a width of 1, there are exceptions - many
east Asian characters have a width of 2, and some languages use Unicode
"combining characters" which have a zero width.
Package information
- Ports path
- textproc/p5-Text-CharWidth
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- textproc, perl5
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
None listed.