BSD Ports

wip/py-blessings 1.7 NetBSD

Thin wrapper around terminal coloring, styling, and positioning

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
mit
Categories
wip, python

Description

Blessings lifts several of curses' limiting assumptions, and it makes your code pretty, too:

  • Use styles, color, and maybe a little positioning without necessarily clearing the whole screen first.

  • Leave more than one screenful of scrollback in the buffer after your program exits, like a well-behaved command-line app should.

  • Get rid of all those noisy, C-like calls to tigetstr and tparm, so your code doesn't get crowded out by terminal bookkeeping.

  • Act intelligently when somebody redirects your output to a file, omitting the terminal control codes the user doesn't want to see (optional).

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-blessings && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1
Required by 1