MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _handleMouseUp

Method _handleMouseUp

src/server/web/public/terminal.js:300–304  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

298 this._mouseDownLink = this._currentLink;
299 }
300 _handleMouseUp(e3) {
301 if (!this._currentLink) return;
302 const t3 = this._positionFromMouseEvent(e3, this._element, this._mouseService);
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 }

Callers 1

constructorMethod · 0.80

Calls 7

_linkAtPositionMethod · 0.80
getCoordsMethod · 0.80
triggerDataEventMethod · 0.80
activateMethod · 0.45

Tested by

no test coverage detected