From b46696bdc8f7a4d19b6a8205558cbcbe4168c3cf Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 22 Jan 2021 01:09:24 +0530 Subject: [PATCH] Revert d9eebbc7471b97f3aa58939685bd7b8f4ce35b1e --- youtube_dlc/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dlc/YoutubeDL.py b/youtube_dlc/YoutubeDL.py index 41f436086..208cae17e 100644 --- a/youtube_dlc/YoutubeDL.py +++ b/youtube_dlc/YoutubeDL.py @@ -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):