devel/py-wcwidth 0.9.2 OpenBSD
measures number of terminal column cells of wide-char code
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
5fa82d8362- Categories
- devel, lang/python
Description
This API is mainly for Terminal Emulator implementers, or those writing programs that expect to interpreted by a terminal emulator and wish to determine the printable width of a string on a Terminal.
Usually, the length of the string is equivalent to the number of cells it occupies except that there are also some categories of characters which occupy 2 or even 0 cells. POSIX-conforming systems provide wcwidth(3) and wcswidth(3) of which this module's interface mirrors precisely.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-wcwidth | 0.9.2 |
| FreeBSD | devel/py-wcwidth | 0.8.4 |
| NetBSD | devel/py-wcwidth | 0.8.3 |
| DragonFly | devel/py-wcwidth | 0.2.8_1 |
| MidnightBSD | devel/py-wcwidth | 0.8.2 |
Install
Binary package:
pkg_add py3-wcwidth
From the ports tree:
cd /usr/ports/devel/py-wcwidth && make install