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

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


Branch: CURRENT, Version: 0.3.0, Package name: py27-curtsies-0.3.0, 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-wcwidth] [devel/py-typing] [devel/py-blessings]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: af02c5ded913a15a3e4ae85d2ad1e04b6ce91f75
RMD160: 39fd8eb76f8e38fec3a7803659e3ae1a7cbfce2a
Filesize: 46.016 KB

Version history: (Expand)


CVS history: (Expand)


   2018-02-26 09:38:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-curtsies: updated to 0.3.0

0.3.0:
Change name of "dark" color to "black"
Drop support for Python 2.6 and 3.3
New FmtStr method width_aware_splitlines which cuts up a FmtStr in linear time
   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.