diff options
author | Erik Rose <erik@mozilla.com> | 2011-11-15 23:26:32 -0800 |
---|---|---|
committer | Erik Rose <erik@mozilla.com> | 2011-11-15 23:26:32 -0800 |
commit | d08d44ce35d5a36b3683028078fe3f624caf51a5 (patch) | |
tree | 9d6818c7be3159ec5eb041f1b72b0f560a51f476 /README.rst | |
parent | 538f99aef1c207154c1751ab929fddc2670ca7e0 (diff) | |
download | blessings-d08d44ce35d5a36b3683028078fe3f624caf51a5.tar.gz |
Add reset_colors sugar. Tweak readme.
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -56,8 +56,7 @@ this time with Blessings:: term = Terminal() with term.location(0, term.height): - print 'This is {under}underlined{normal}!'.format(under=term.underline, - normal=term.no_underline) + print 'This is {t.underline}underlined{t.no_underline}!'.format(t=term) It's short, it's obvious, and it keeps all those nasty ``tigetstr()`` and ``tparm()`` calls out of your code. It also acts intelligently when somebody @@ -237,8 +236,8 @@ Shopping List ============= There are decades of legacy tied up in terminal interaction, so attention to -detail and behavior of edge cases make a difference. Consider which of these -features matter to you as you shop for a terminal library. Blessings does them +detail and behavior in edge cases make a difference. Consider which of these +features matter to you as you shop for a terminal library. Blessings has them all. * Output to any file-like object, not just stdout. @@ -254,6 +253,13 @@ all. * Keep a minimum of internal state, so you can feel free to mix and match with calls to curses or whatever other terminal libraries you like. +Blessings does not provide... + +* Native color support on the Windows command prompt. However, it should work + when used in concert with colorama_. + +.. _colorama: http://pypi.python.org/pypi/colorama/0.2.4 + Bugs ==== @@ -270,7 +276,7 @@ Version History not a terminal. * Added the ``is_a_tty`` attribute for telling whether the output stream is a terminal. - * Added sugar for the remaining simple formatting capabilities. + * Added sugar for the remaining interesting string capabilities. * Let ``location()`` operate on just an x *or* y coordinate. 1.0 |