BSD Ports

devel/py-wcwidth 0.2.8_1 DragonFly

Determine the printable width of the terminal

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
30.5 KiB, 567.7 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/py-wcwidth0.2.8_1
FreeBSDdevel/py-wcwidth0.8.4
OpenBSDdevel/py-wcwidth0.9.2
NetBSDdevel/py-wcwidth0.8.3
MidnightBSDdevel/py-wcwidth0.8.2

Install

Binary package:

pkg install py311-wcwidth

From DPorts:

cd /usr/dports/devel/py-wcwidth && make install clean

Dependencies

Run dependencies 1