src/vs/workbench/contrib/terminal/browser/terminalService.ts/TerminalService/getInstanceHost
class TerminalService:	getInstanceHost(target: TerminalLocation | undefined): ITerminalInstanceHost {
		if (target) {
			if (target === TerminalLocation.Editor) {
				return this._terminalEditorService;
			}
			return this._terminalGroupService;
		}
		return this;
	}