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 {
126
126
}
127
127
128
128
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 ) {
130
130
this . _terminalService . createTerminal ( { location : TerminalLocation . Panel } ) ;
131
131
}
132
132
}
You can’t perform that action at this time.
0 commit comments