[Tutor] ANSI / VT100 Escape Codes in Windows 7 Environment
eryk sun
eryksun at gmail.com
Wed Feb 27 20:10:36 EST 2019
On 2/27/19, Chip Wachob <wachobc at gmail.com> wrote:
>
> I've been spending the morning looking at different solutions. Many of
> them seem to involve either including yet aother module, or, worse (IMHO) a
> C library that will 'emulate' the ANSI escape sequences, API calls, etc.
To support virtual-terminal sequences prior to Windows 10, you'll need
a package such as colorama [1] that implements VT sequences in terms
of the Windows console API -- unless you're willing to require an
alternate console such as ConEmu or an API hack such as ANSICON.
[1]: https://pypi.org/project/colorama
More information about the Tutor
mailing list