blob: 92ba58155d314396dde3fd7e0d95cf421c39a733 (
plain) (
blame)
1
2
3
4
5
6
7
|
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.
|