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

Function ansiIdx

src/native-ts/color-diff/index.ts:88–90  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

86}
87
88function ansiIdx(index: number): Color {
89 return { r: index, g: 0, b: 0, a: 0 }
90}
91
92// Sentinel: a=1 means "terminal default" (matches bat convention)
93const DEFAULT_BG: Color = { r: 0, g: 0, b: 0, a: 1 }

Callers 2

index.tsFile · 0.85
buildThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected