1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-05 13:34:42 -04:00

[minicurses] Fix when printing to file

Closes #1215
This commit is contained in:
pukkandan
2021-10-10 07:08:22 +05:30
parent 2e01ba6218
commit d1d5c08f29
4 changed files with 29 additions and 24 deletions

View File

@@ -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