mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
2b9c04c282
that attempts to determine the printable width of a string on a Terminal. It is certainly possible to use your Operating System's wcwidth() and wcswidth() calls if it is POSIX-conforming, but this would not be possible on non-POSIX platforms, such as Windows, or for alternative Python implementations, such as jython. WWW: https://github.com/jquast/wcwidth
10 lines
436 B
Plaintext
10 lines
436 B
Plaintext
This API is mainly for Terminal Emulator implementors -- any python program
|
|
that attempts to determine the printable width of a string on a Terminal.
|
|
|
|
It is certainly possible to use your Operating System's wcwidth() and
|
|
wcswidth() calls if it is POSIX-conforming, but this would not be possible on
|
|
non-POSIX platforms, such as Windows, or for alternative Python
|
|
implementations, such as jython.
|
|
|
|
WWW: https://github.com/jquast/wcwidth
|