File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export abstract class TerminalService extends CommonTerminalService implements I
5757 shell ,
5858 true ) ;
5959 this . _backgroundedTerminalInstances . push ( instance ) ;
60+ this . _initInstanceListeners ( instance ) ;
6061 return instance ;
6162 }
6263 const terminalTab = this . _instantiationService . createInstance ( TerminalTab ,
@@ -88,7 +89,6 @@ export abstract class TerminalService extends CommonTerminalService implements I
8889 this . _terminalTabs . push ( terminalTab ) ;
8990 terminalTab . addDisposable ( terminalTab . onDisposed ( this . _onTabDisposed . fire , this . _onTabDisposed ) ) ;
9091 terminalTab . addDisposable ( terminalTab . onInstancesChanged ( this . _onInstancesChanged . fire , this . _onInstancesChanged ) ) ;
91- this . _initInstanceListeners ( instance ) ;
9292 if ( this . terminalInstances . length === 1 ) {
9393 // It's the first instance so it should be made active automatically
9494 this . setActiveInstanceByIndex ( 0 ) ;
You can’t perform that action at this time.
0 commit comments