src/vs/workbench/contrib/terminal/browser/links/terminalShellIntegrationLinkDetector.ts/TerminalShellIntegrationLinkDetector/detect
class TerminalShellIntegrationLinkDetector:	detect(lines: IBufferLine[], startLine: number, endLine: number): ITerminalSimpleLink[] {
		if (this._matches(lines)) {
			return [{
				text: linkText,
				type: TerminalBuiltinLinkType.Url,
				label: localize('learn', 'Learn about shell integration'),
				uri: URI.from({
					scheme: Schemas.https,
					path: 'aka.ms/vscode-shell-integration'
				}),
				bufferRange: {
					start: { x: 1, y: startLine + 1 },
					end: { x: linkText.length % this.xterm.cols, y: startLine + Math.floor(linkText.length / this.xterm.cols) + 1 }
				},
				actions: [{
					label: terminalStrings.doNotShowAgain,
					commandId: '',
					run: () => this._hideMessage()
				}]
			}];
		}

		return [];
	}