Use colorama.just_fix_windows_console (#766)

This commit is contained in:
MS 2024-04-02 18:45:57 -04:00 committed by GitHub
parent 8225a38a01
commit 56827fb2c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@
from isledecomp.bin import Bin as IsleBin
import colorama
colorama.init()
colorama.just_fix_windows_console()
# Ignore all compare-db messages.

View file

@ -7,7 +7,7 @@
from isledecomp.dir import walk_source_dir, is_file_cpp
from isledecomp.parser import DecompLinter
colorama.init()
colorama.just_fix_windows_console()
def display_errors(alerts, filename):

View file

@ -19,7 +19,7 @@
from pystache import Renderer
import colorama
colorama.init()
colorama.just_fix_windows_console()
def gen_json(json_file: str, orig_file: str, data):

View file

@ -1,7 +1,7 @@
tools/isledecomp
capstone
clang==16.*
colorama
colorama>=0.4.6
isledecomp
pystache
pyyaml

View file

@ -12,7 +12,7 @@
# Ignore all compare-db messages.
logging.getLogger("isledecomp.compare").addHandler(logging.NullHandler())
colorama.init()
colorama.just_fix_windows_console()
def parse_args() -> argparse.Namespace: