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

Method getFgColor

src/server/web/public/terminal.js:3772–3782  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3770 return 0 === this.fg && 0 === this.bg;
3771 }
3772 getFgColor() {
3773 switch (50331648 & this.fg) {
3774 case 16777216:
3775 case 33554432:
3776 return 255 & this.fg;
3777 case 50331648:
3778 return 16777215 & this.fg;
3779 default:
3780 return -1;
3781 }
3782 }
3783 getBgColor() {
3784 switch (50331648 & this.bg) {
3785 case 16777216:

Callers 3

getUnderlineColorMethod · 0.95
createRowMethod · 0.80
_drawToCacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected