mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Improved progress reporting (See desc) (#1125)
* Separate `--console-title` and `--no-progress` * Add option `--progress` to show progress-bar even in quiet mode * Fix and refactor `minicurses` * Use `minicurses` for all progress reporting * Standardize use of terminal sequences and enable color support for windows 10 * Add option `--progress-template` to customize progress-bar and console-title * Add postprocessor hooks and progress reporting Closes: #906, #901, #1085, #1170
This commit is contained in:
		| @@ -159,6 +159,12 @@ except ImportError: | ||||
|         compat_pycrypto_AES = None | ||||
|  | ||||
|  | ||||
| def windows_enable_vt_mode():  # TODO: Do this the proper way https://bugs.python.org/issue30075 | ||||
|     if compat_os_name != 'nt': | ||||
|         return | ||||
|     os.system('') | ||||
|  | ||||
|  | ||||
| #  Deprecated | ||||
|  | ||||
| compat_basestring = str | ||||
| @@ -281,5 +287,6 @@ __all__ = [ | ||||
|     'compat_xml_parse_error', | ||||
|     'compat_xpath', | ||||
|     'compat_zip', | ||||
|     'windows_enable_vt_mode', | ||||
|     'workaround_optparse_bug9161', | ||||
| ] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan