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

Method _createSelectionElement

src/server/web/public/terminal.js:1325–1329  ·  view source on GitHub ↗
(e3, t3, i3, s3 = 1)

Source from the content-addressed store, hash-verified

1323 this._selectionContainer.appendChild(a2);
1324 }
1325 _createSelectionElement(e3, t3, i3, s3 = 1) {
1326 const r2 = this._document.createElement("div"), n2 = t3 * this.dimensions.css.cell.width;
1327 let o2 = this.dimensions.css.cell.width * (i3 - t3);
1328 return n2 + o2 > this.dimensions.css.canvas.width && (o2 = this.dimensions.css.canvas.width - n2), r2.style.height = s3 * this.dimensions.css.cell.height + "px", r2.style.top = e3 * this.dimensions.css.cell.height + "px", r2.style.left = `${n2}px`, r2.style.width = `${o2}px`, r2;
1329 }
1330 handleCursorMove() {
1331 }
1332 _handleOptionsChanged() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected