ports/devel/py-cwcwidth/pkg-descr
Sunpoet Po-Chuan Hsieh 57a080bd89 Add py-cwcwidth 0.1.1
cwcwidth provides Python bindings for wcwidth and wcswidth functions defined in
POSIX.1-2001 and POSIX.1-2008 based on Cython. These functions compute the
printable length of a unicode character/string on a terminal. The module
provides the same functions as wcwidth and its behavior is compatible.

On systems not conforming to POSIX.1-2001 and POSIX.1-2008, Markus Kuhn's
implementation is used to provide the functionality.

WWW: https://github.com/sebastinas/cwcwidth
2021-01-26 17:19:22 +00:00

9 lines
472 B
Text

cwcwidth provides Python bindings for wcwidth and wcswidth functions defined in
POSIX.1-2001 and POSIX.1-2008 based on Cython. These functions compute the
printable length of a unicode character/string on a terminal. The module
provides the same functions as wcwidth and its behavior is compatible.
On systems not conforming to POSIX.1-2001 and POSIX.1-2008, Markus Kuhn's
implementation is used to provide the functionality.
WWW: https://github.com/sebastinas/cwcwidth