1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-05 09:05:14 +00:00

[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
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)