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

Function createTestScreen

src/ink/screen.contentEndDiff.test.ts:15–23  ·  view source on GitHub ↗
(width = 96, height = 1)

Source from the content-addressed store, hash-verified

13} from './screen.js'
14
15function createTestScreen(width = 96, height = 1) {
16 const stylePool = new StylePool()
17 const charPool = new CharPool()
18 const hyperlinkPool = new HyperlinkPool()
19 return {
20 stylePool,
21 screen: createScreen(width, height, stylePool, charPool, hyperlinkPool),
22 }
23}
24
25function makeFrame(
26 screen: ReturnType<typeof createTestScreen>['screen'],

Callers 1

Calls 1

createScreenFunction · 0.85

Tested by

no test coverage detected