src/vs/workbench/contrib/terminal/browser/terminalGroup.ts/TerminalGroup/title
class TerminalGroup:	get title(): string {
		if (this._terminalInstances.length === 0) {
			// Normally consumers should not call into title at all after the group is disposed but
			// this is required when the group is used as part of a tree.
			return '';
		}
		let title = this.terminalInstances[0].title;
		if (this.terminalInstances[0].shellLaunchConfig.description) {
			title += ` (${this.terminalInstances[0].shellLaunchConfig.description})`;
		}
		for (let i = 1; i < this.terminalInstances.length; i++) {
			const instance = this.terminalInstances[i];
			if (instance.title) {
				title += `, ${instance.title}`;
				if (instance.shellLaunchConfig.description) {
					title += ` (${instance.shellLaunchConfig.description})`;
				}
			}
		}
		return title;
	}