summaryrefslogtreecommitdiff
path: root/comms/py-colorama
AgeCommit message (Collapse)AuthorFilesLines
2018-11-30py-colorama: updated to 0.4.1adam2-8/+7
0.4.1 * Fix issue 196: prevent exponential number of calls when calling 'init' multiple times.
2018-10-26py-colorama: updated to 0.4.0adam3-10/+10
0.4.0: Fix2: reset LIGHT_EX colors with RESET_ALL. Fix: ignore invalid "erase" ANSI codes. Fix stream wrapping under PyCharm. Added contextlib magic methods to ansitowin32.StreamWrapper. Fix: don't cache stdio handles, since they might be closed/changed by fd redirection. This fixes an issue with pytest. Drop support for EOL Python 2.5, 2.6, 3.1, 3.2 and 3.3, and add 3.6.
2017-07-200.3.9adam3-8/+9
* Revert fix for issue 103 which causes problems for dependent applications 0.3.8 * Fix issue 121: "invalid escape sequence" deprecation fixes on Python 3.6+ * Fix issue 110: fix "set console title" when working with unicode strings * Fix issue 103: enable color when using "input" function on Python 3.5+ * Fix issue 95: enable color when stderr is a tty but stdout is not
2017-04-04Updated py-colorama to 0.3.7.wiz2-7/+7
0.3.7 * Fix issue #84: check if stream has 'closed' attribute before testing it * Fix issue #74: objects might become None at exit 0.3.6 * Fix issue #81: fix ValueError when a closed stream was used 0.3.5 * Bumping version to re-upload a wheel distribution 0.3.4 * Fix issue #47 and #80 - stream redirection now strips ANSI codes on Linux * Fix issue #53 - strip readline markers * Fix issue #32 - assign orig_stdout and orig_stderr when initialising * Fix issue #57 - Fore.RESET did not reset style of LIGHT_EX colors. Fixed by Andy Neff * Fix issue #51 - add context manager syntax. Thanks to Matt Olsen. * Fix issue #48 - colorama didn't work on Windows when environment variable 'TERM' was set. * Fix issue #54 - fix pylint errors in client code. * Changes to readme and other improvements by Marc Abramowitz and Zearin 0.3.3 * Fix Google Code issue #13 - support changing the console title with OSC escape sequence * Fix Google Code issue #16 - Add support for Windows xterm emulators * Fix Google Code issue #30 - implement \033[nK (clear line) * Fix Google Code issue #49 - no need to adjust for scroll when new position is already relative (CSI n A\B\C\D) * Fix Google Code issue #55 - erase_data fails on Python 3.x * Fix Google Code issue #46 - win32.COORD definition missing * Implement \033[0J and \033[1J (clear screen options) * Fix default ANSI parameters * Fix position after \033[2J (clear screen) * Add command shortcuts: colorama.Cursor, colorama.ansi.set_title, colorama.ansi.clear_line, colorama.ansi.clear_screen * Fix issue #22 - Importing fails for python3 on Windows * Thanks to John Szakmeister for adding support for light colors * Thanks to Charles Merriam for adding documentation to demos
2016-06-08Switch to MASTER_SITES_PYPI.wiz1-2/+2
2015-11-03Add SHA512 digests for distfiles for comms categoryagc1-1/+2
Existing SHA1 digests verified, all found to be the same on the machine holding the existing distfiles (morden). Existing SHA1 digests retained for now as an audit trail.
2014-12-05Import py27-colorama-0.3.2 as comms/py-colorama.rodent4-0/+57
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.