src/vs/workbench/api/browser/mainThreadTerminalService.ts/MainThreadTerminalService/_getTerminalInstance
class MainThreadTerminalService:	private _getTerminalInstance(id: TerminalIdentifier): ITerminalInstance | undefined {
		const rendererId = this._getTerminalId(id);
		if (typeof rendererId === 'number') {
			return this._terminalService.getInstanceFromId(rendererId);
		}
		return undefined;
	}