mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-11-04 19:32:13 +08:00 
			
		
		
		
	fix vscode terminal errors when setting cmder fast_init=1 outside cmder
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/lib/lib_console.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/lib/lib_console.cmd
									
									
									
									
										vendored
									
									
								
							@@ -1,10 +1,10 @@
 | 
				
			|||||||
@echo off
 | 
					@echo off
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if "%fast_init%" == "1" exit /b
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
call "%~dp0lib_base.cmd"
 | 
					call "%~dp0lib_base.cmd"
 | 
				
			||||||
set lib_console=call "%~dp0lib_console.cmd"
 | 
					set lib_console=call "%~dp0lib_console.cmd"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if "%fast_init%" == "1" exit /b
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if "%~1" == "/h" (
 | 
					if "%~1" == "/h" (
 | 
				
			||||||
    %lib_base% help "%~0"
 | 
					    %lib_base% help "%~0"
 | 
				
			||||||
) else if "%1" neq "" (
 | 
					) else if "%1" neq "" (
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user