pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/py-colorama py-colorama: revert DESCR



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59238b6e5b8e
branches:  trunk
changeset: 387855:59238b6e5b8e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 09 07:56:56 2022 +0000

description:
py-colorama: revert DESCR

diffstat:

 comms/py-colorama/DESCR |  16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 956b15203c83 -r 59238b6e5b8e comms/py-colorama/DESCR
--- a/comms/py-colorama/DESCR   Wed Nov 09 07:55:44 2022 +0000
+++ b/comms/py-colorama/DESCR   Wed Nov 09 07:56:56 2022 +0000
@@ -1,3 +1,13 @@
-Blessed is an easy, practical library for making terminal apps, by providing an
-elegant, well-documented interface to Colors, Keyboard input, and screen
-position and Location capabilities.
+Makes ANSI escape character sequences for producing colored terminal text and
+cursor positioning work under MS Windows.
+
+ANSI escape character sequences have long been used to produce colored terminal
+text and cursor positioning on Unix and Macs. Colorama makes this work on
+Windows, too, by wrapping stdout, stripping ANSI sequences it finds (which
+otherwise show up as gobbledygook in your output), and converting them into the
+appropriate win32 calls to modify the state of the terminal. On other platforms,
+Colorama does nothing.
+
+Colorama also provides some shortcuts to help generate ANSI sequences but works
+fine in conjunction with any other ANSI sequence generation library, such as
+Termcolor.



Home | Main Index | Thread Index | Old Index