I\'m trying to write a text user interface in Python that would also work when launched from Windows Powershell. Overall Powershell works with ANSI codes qite well, but when I\'