./devel/py-curtsies, Curses-like terminal wrapper, with colored strings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.11, Package name: py27-curtsies-0.2.11, Maintainer: pkgsrc-users

Curtsies is a Python 2.6+ & 3.3+ compatible library for interacting with
the terminal.

FmtStr objects are strings formatted with colors and styles displayable in
a terminal with ANSI escape sequences. FSArray objects contain multiple such
strings with each formatted string on its own row, and can be superimposed
onto each other to build complex grids of colored and styled characters.

Such grids of characters can be efficiently rendered to the terminal in
alternate screen mode (no scrollback history, like Vim, top etc.) by
FullscreenWindow objects or to the normal history-preserving screen by
CursorAwareWindow objects. User keyboard input events like pressing the up
arrow key are detected by an Input object. See the Quickstart to get started
using all of these classes.


Required to run:
[devel/py-setuptools] [lang/python27] [devel/py-blessings]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: fe129ce77bd4b87efba0b46887464ae64d257d46
RMD160: 8f3f4afb1b1d53b9d3e89a52a070260dbc3755da
Filesize: 45.645 KB

Version history: (Expand)


CVS history: (Expand)


   2017-04-12 13:42:45 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
Curtsies is a Python 2.6+ & 3.3+ compatible library for interacting with
the terminal.

FmtStr objects are strings formatted with colors and styles displayable in
a terminal with ANSI escape sequences. FSArray objects contain multiple such
strings with each formatted string on its own row, and can be superimposed
onto each other to build complex grids of colored and styled characters.

Such grids of characters can be efficiently rendered to the terminal in
alternate screen mode (no scrollback history, like Vim, top etc.) by
FullscreenWindow objects or to the normal history-preserving screen by
CursorAwareWindow objects. User keyboard input events like pressing the up
arrow key are detected by an Input object. See the Quickstart to get started
using all of these classes.