[utils] Add WINDOWS_VT_MODE to globals (#12460)

Authored by: Grub4K
This commit is contained in:
Simon Sawicki 2025-07-22 20:10:51 +02:00 committed by GitHub
parent 3e918d825d
commit eed94c7306
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 13 deletions

View file

@ -1,3 +1,4 @@
import os
from collections import defaultdict
# Please Note: Due to necessary changes and the complex nature involved in the plugin/globals system,
@ -28,3 +29,4 @@ plugin_ies_overrides = Indirect(defaultdict(list))
# Misc
IN_CLI = Indirect(False)
LAZY_EXTRACTORS = Indirect(None) # `False`=force, `None`=disabled, `True`=enabled
WINDOWS_VT_MODE = Indirect(False if os.name == 'nt' else None)