We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d239347 commit 78cd951Copy full SHA for 78cd951
src/vs/workbench/contrib/terminal/browser/terminalGroupService.ts
@@ -83,7 +83,7 @@ export class TerminalGroupService extends Disposable implements ITerminalGroupSe
83
hidePanel(): void {
84
// Hide the panel if the terminal is in the panel and it has no sibling views
85
const panel = this._viewDescriptorService.getViewContainerByViewId(TERMINAL_VIEW_ID);
86
- if (panel && this._viewDescriptorService.getViewContainerModel(panel).activeViewDescriptors.length === 1) {
+ if (panel && this._viewDescriptorService.getViewContainerModel(panel).visibleViewDescriptors.length === 1) {
87
this._viewsService.closeView(TERMINAL_VIEW_ID);
88
TerminalContextKeys.tabsMouse.bindTo(this._contextKeyService).set(false);
89
}
0 commit comments