MCPcopy Create free account
hub / github.com/codeaashu/claude-code / _isCellInSelection

Method _isCellInSelection

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

Source from the content-addressed store, hash-verified

1491 e3.setAttribute("style", `${e3.getAttribute("style") || ""}${t3};`);
1492 }
1493 _isCellInSelection(e3, t3) {
1494 const i3 = this._selectionStart, s3 = this._selectionEnd;
1495 return !(!i3 || !s3) && (this._columnSelectMode ? i3[0] <= s3[0] ? e3 >= i3[0] && t3 >= i3[1] && e3 < s3[0] && t3 <= s3[1] : e3 < i3[0] && t3 >= i3[1] && e3 >= s3[0] && t3 <= s3[1] : t3 > i3[1] && t3 < s3[1] || i3[1] === s3[1] && t3 === i3[1] && e3 >= i3[0] && e3 < s3[0] || i3[1] < s3[1] && t3 === s3[1] && e3 < s3[0] || i3[1] < s3[1] && t3 === i3[1] && e3 >= i3[0]);
1496 }
1497 };
1498 function v(e3, t3, i3) {
1499 for (; e3.length < i3; ) e3 = t3 + e3;

Callers 1

createRowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected