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

Method _positionFromMouseEvent

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

Source from the content-addressed store, hash-verified

346 return i3 <= r2 && r2 <= s3;
347 }
348 _positionFromMouseEvent(e3, t3, i3) {
349 const s3 = i3.getCoords(e3, t3, this._bufferService.cols, this._bufferService.rows);
350 if (s3) return { x: s3[0], y: s3[1] + this._bufferService.buffer.ydisp };
351 }
352 _createLinkUnderlineEvent(e3, t3, i3, s3, r2) {
353 return { x1: e3, y1: t3, x2: i3, y2: s3, cols: this._bufferService.cols, fg: r2 };
354 }

Callers 3

_handleMouseMoveMethod · 0.80
_handleMouseUpMethod · 0.80
_handleNewLinkMethod · 0.80

Calls 1

getCoordsMethod · 0.80

Tested by

no test coverage detected