src/vs/workbench/contrib/terminal/browser/terminalView.ts/getSingleTabTooltip
function getSingleTabTooltip(instance: ITerminalInstance | undefined): string {
	if (!instance) {
		return '';
	}
	if (!instance.shellLaunchConfig.description) {
		return instance.title;
	}
	return `${instance.title} ${instance.shellLaunchConfig.description}`;
}