blob: f88af14b8f65ead14332492d17b1819bf07f5cf4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
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
|