File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ export class TerminalViewPane extends ViewPane {
126126 }
127127
128128 private _initializeTerminal ( ) {
129- if ( this . isBodyVisible ( ) && this . _terminalService . isProcessSupportRegistered && this . _terminalService . connectionState === TerminalConnectionState . Connected && this . _terminalService . restoredGroupCount === 0 ) {
129+ if ( this . isBodyVisible ( ) && this . _terminalService . isProcessSupportRegistered && this . _terminalService . connectionState === TerminalConnectionState . Connected && this . _terminalService . restoredGroupCount === 0 && this . _terminalGroupService . groups . length === 0 ) {
130130 this . _terminalService . createTerminal ( { location : TerminalLocation . Panel } ) ;
131131 }
132132 }
You can’t perform that action at this time.
0 commit comments