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

Method _setOrReportSpecialColor

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

Source from the content-addressed store, hash-verified

3378 return this._curAttrData.extended = this._curAttrData.extended.clone(), this._curAttrData.extended.urlId = 0, this._curAttrData.updateExtended(), true;
3379 }
3380 _setOrReportSpecialColor(e3, t3) {
3381 const i3 = e3.split(";");
3382 for (let e4 = 0; e4 < i3.length && !(t3 >= this._specialColors.length); ++e4, ++t3) if ("?" === i3[e4]) this._onColor.fire([{ type: 0, index: this._specialColors[t3] }]);
3383 else {
3384 const s3 = (0, S.parseColor)(i3[e4]);
3385 s3 && this._onColor.fire([{ type: 1, index: this._specialColors[t3], color: s3 }]);
3386 }
3387 return true;
3388 }
3389 setOrReportFgColor(e3) {
3390 return this._setOrReportSpecialColor(e3, 0);
3391 }

Callers 3

setOrReportFgColorMethod · 0.95
setOrReportBgColorMethod · 0.95

Calls 1

fireMethod · 0.80

Tested by

no test coverage detected