mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-15 14:11:56 +00:00
Revert d9eebbc747
This commit is contained in:
parent
63be1aab2f
commit
b46696bdc8
@ -599,7 +599,7 @@ class YoutubeDL(object):
|
||||
# already of type unicode()
|
||||
ctypes.windll.kernel32.SetConsoleTitleW(ctypes.c_wchar_p(message))
|
||||
elif 'TERM' in os.environ:
|
||||
self._write_string('\033[0;%s\007' % message, self._screen_file)
|
||||
self._write_string('\033]0;%s\007' % message, self._screen_file)
|
||||
|
||||
def save_console_title(self):
|
||||
if not self.params.get('consoletitle', False):
|
||||
|
Loading…
Reference in New Issue
Block a user