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

Function rgb

src/ink/hooks/use-tab-status.ts:13–18  ·  view source on GitHub ↗
(r: number, g: number, b: number)

Source from the content-addressed store, hash-verified

11export type TabStatusKind = 'idle' | 'busy' | 'waiting'
12
13const rgb = (r: number, g: number, b: number): Color => ({
14 type: 'rgb',
15 r,
16 g,
17 b,
18})
19
20// Per the OSC 21337 usage guide's suggested mapping.
21const TAB_STATUS_PRESETS: Record<

Callers 1

use-tab-status.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected