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

Method _addStyle

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

Source from the content-addressed store, hash-verified

1488 return e3.isDim() ? this._themeService.colors.halfContrastCache : this._themeService.colors.contrastCache;
1489 }
1490 _addStyle(e3, t3) {
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]);

Callers 2

createRowMethod · 0.80
_applyMinimumContrastMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected