microsoft / knack

Knack - A Python command line interface framework
https://pypi.python.org/pypi/knack
MIT License
347 stars 95 forks source link

Enable Virtual Terminal mode on legacy Windows terminal to support ANSI escape sequences #265

Closed jiasli closed 2 years ago

jiasli commented 2 years ago

Migrated from https://github.com/Azure/azure-cli/pull/12942

This PRs totally removes colorama, getting us rid of colorama bugs.

Windows versions before Windows 10 1607 are not supported anymore. Colors are automatically disabled on those jurassic period terminals 🦖.

When Windows Terminal becomes universal, even _win_vt.py should be dropped.