From 8151e6fe390046a41a2153f4004baec8f20f35d4 Mon Sep 17 00:00:00 2001 From: Erik Rose Date: Fri, 9 Dec 2011 19:32:47 -0500 Subject: Add number_of_colors attr. Bring release notes up to date. --- README.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 9a16966..3214d2e 100644 --- a/README.rst +++ b/README.rst @@ -337,9 +337,17 @@ Version History =============== 1.3 + * Add ``number_of_colors``, which tells you how many colors the terminal + supports. * Made ``color(n)`` and ``on_color(n)`` callable to wrap a string, like the - named colors can. Also, make them both fall back to the ``setf`` and ``setb`` - capabilities if the ANSI ``setaf`` and ``setab`` aren't available. + named colors can. Also, make them both fall back to the ``setf`` and + ``setb`` capabilities if the ANSI ``setaf`` and ``setab`` aren't available. + * Allow ``color`` attr to act as an unparametrized string, not just a + callable. + * Make caching more efficient. + * Get rid of a reference cycle between Terminals and FormattingStrings. + * Update docs to reflect that terminal addressing (as in ``location()``) is + 0-based. 1.2 * Added support for Python 3! We need 3.2.3 or greater, because the curses -- cgit v1.2.1