Tested on CPython 3.9, 3.10, 3.11, 3.12, 3.13 and PyPy 3.11. No requirements other than the standard library. ANSI escape character sequences have long been used to ...