mirror of
https://github.com/cmderdev/cmder.git
synced 2025-07-09 21:59:07 +08:00
Speed up calls to lib_console
This commit is contained in:
5
vendor/lib/lib_console.cmd
vendored
5
vendor/lib/lib_console.cmd
vendored
@ -3,6 +3,11 @@
|
||||
call "%~dp0lib_base.cmd"
|
||||
set lib_console=call "%~dp0lib_console.cmd"
|
||||
|
||||
:: Much faster than using "%lib_console% debug_output ..." etc.
|
||||
set print_debug=if %debug_output% gtr 0 %lib_console% debug_output %*
|
||||
set print_verbose=if %verbose_output% gtr 0 %lib_console% verbose_output %*
|
||||
set print_error=%lib_console% show_error %*
|
||||
|
||||
if "%fast_init%" == "1" exit /b
|
||||
|
||||
if "%~1" == "/h" (
|
||||
|
Reference in New Issue
Block a user