src/vs/workbench/contrib/terminal/browser/terminalGroupService.ts/TerminalGroupService/updateVisibility
class TerminalGroupService:	updateVisibility() {
		const visible = this._viewsService.isViewVisible(TERMINAL_VIEW_ID);
		this.groups.forEach((g, i) => g.setVisible(visible && i === this.activeGroupIndex));
	}