mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-23 03:55:44 -04:00
Use colorama.just_fix_windows_console (#766)
This commit is contained in:
parent
8225a38a01
commit
56827fb2c4
@ -16,7 +16,7 @@ from isledecomp.cvdump.types import (
|
||||
from isledecomp.bin import Bin as IsleBin
|
||||
import colorama
|
||||
|
||||
colorama.init()
|
||||
colorama.just_fix_windows_console()
|
||||
|
||||
|
||||
# Ignore all compare-db messages.
|
||||
|
@ -7,7 +7,7 @@ import colorama
|
||||
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):
|
||||
|
@ -19,7 +19,7 @@ from isledecomp.types import SymbolType
|
||||
from pystache import Renderer
|
||||
import colorama
|
||||
|
||||
colorama.init()
|
||||
colorama.just_fix_windows_console()
|
||||
|
||||
|
||||
def gen_json(json_file: str, orig_file: str, data):
|
||||
|
@ -1,7 +1,7 @@
|
||||
tools/isledecomp
|
||||
capstone
|
||||
clang==16.*
|
||||
colorama
|
||||
colorama>=0.4.6
|
||||
isledecomp
|
||||
pystache
|
||||
pyyaml
|
||||
|
@ -12,7 +12,7 @@ from isledecomp.utils import print_combined_diff
|
||||
# Ignore all compare-db messages.
|
||||
logging.getLogger("isledecomp.compare").addHandler(logging.NullHandler())
|
||||
|
||||
colorama.init()
|
||||
colorama.just_fix_windows_console()
|
||||
|
||||
|
||||
def parse_args() -> argparse.Namespace:
|
||||
|
Loading…
x
Reference in New Issue
Block a user