src/vs/workbench/contrib/terminal/browser/links/terminalShellIntegrationLinkDetector.ts/TerminalShellIntegrationLinkDetector/_matches
class TerminalShellIntegrationLinkDetector:	private _matches(lines: IBufferLine[]): boolean {
		if (lines.length < linkCodes.length) {
			return false;
		}
		let cell: IBufferCell | undefined;
		for (let i = 0; i < linkCodes.length; i++) {
			cell = lines[Math.floor(i / this.xterm.cols)].getCell(i % this.xterm.cols, cell);
			if (cell?.getCode() !== linkCodes[i]) {
				return false;
			}
		}
		return true;
	}