mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-10 00:35:13 +01:00
parent
2e01ba6218
commit
d1d5c08f29
4 changed files with 29 additions and 24 deletions
|
|
@ -6458,7 +6458,7 @@ def jwt_encode_hs256(payload_data, key, headers={}):
|
|||
|
||||
def supports_terminal_sequences(stream):
|
||||
if compat_os_name == 'nt':
|
||||
if get_windows_version() < (10, ):
|
||||
if get_windows_version() < (10, 0, 10586):
|
||||
return False
|
||||
elif not os.getenv('TERM'):
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue