MCPcopy Create free account
hub / github.com/Noumena-Network/code / visibleSpaceStyle

Function visibleSpaceStyle

src/ink/screen.test.ts:20–25  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

18}
19
20function visibleSpaceStyle(index: number): AnsiCode {
21 return {
22 code: `\x1b[48;5;${index % 256}m-${index}`,
23 endCode: '\x1b[49m',
24 }
25}
26
27function fillRawStyles(pool: StylePool, rawStyleCount: number): void {
28 for (let i = 1; i < rawStyleCount; i += 1) {

Callers 1

screen.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected