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

Method _resolveForegroundRgba

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

Source from the content-addressed store, hash-verified

7732 return t3 << 8;
7733 default:
7734 return i3 ? this._config.colors.foreground.rgba : this._config.colors.background.rgba;
7735 }
7736 }
7737 _resolveForegroundRgba(e3, t3, i3, s3) {
7738 switch (e3) {
7739 case 16777216:
7740 case 33554432:
7741 return this._config.drawBoldTextInBrightColors && s3 && t3 < 8 && (t3 += 8), this._getColorFromAnsiIndex(t3).rgba;
7742 case 50331648:
7743 return t3 << 8;
7744 default:
7745 return i3 ? this._config.colors.background.rgba : this._config.colors.foreground.rgba;
7746 }
7747 }

Callers 1

Calls 1

Tested by

no test coverage detected