[output] enable colors by default
This commit is contained in:
@@ -86,7 +86,7 @@ def main():
|
||||
signal.signal(signal_num, signal.SIG_IGN)
|
||||
|
||||
# enable ANSI escape sequences on Windows
|
||||
if util.WINDOWS and config.get(("output",), "ansi"):
|
||||
if util.WINDOWS and config.get(("output",), "ansi", True):
|
||||
from ctypes import windll, wintypes, byref
|
||||
kernel32 = windll.kernel32
|
||||
mode = wintypes.DWORD()
|
||||
|
||||
Reference in New Issue
Block a user