MCPcopy
hub / github.com/codeaashu/claude-code / _clearCurrentLink

Method _clearCurrentLink

src/server/web/public/terminal.js:305–307  ·  view source on GitHub ↗
(e3, t3)

Source from the content-addressed store, hash-verified

303 t3 && this._mouseDownLink === this._currentLink && this._linkAtPosition(this._currentLink.link, t3) && this._currentLink.link.activate(e3, this._currentLink.link.text);
304 }
305 _clearCurrentLink(e3, t3) {
306 this._currentLink && this._lastMouseEvent && (!e3 || !t3 || this._currentLink.link.range.start.y >= e3 && this._currentLink.link.range.end.y <= t3) && (this._linkLeave(this._element, this._currentLink.link, this._lastMouseEvent), this._currentLink = void 0, (0, a.disposeArray)(this._linkCacheDisposables));
307 }
308 _handleNewLink(e3) {
309 if (!this._lastMouseEvent) return;
310 const t3 = this._positionFromMouseEvent(this._lastMouseEvent, this._element, this._mouseService);

Callers 3

constructorMethod · 0.45
_handleHoverMethod · 0.45
_handleNewLinkMethod · 0.45

Calls 1

_linkLeaveMethod · 0.80

Tested by

no test coverage detected