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

Function createOutput

src/ink/output.test.ts:19–29  ·  view source on GitHub ↗
(stylePool: StylePool)

Source from the content-addressed store, hash-verified

17} from './outputRenderStats.js'
18
19function createOutput(stylePool: StylePool) {
20 const charPool = new CharPool()
21 const hyperlinkPool = new HyperlinkPool()
22 const screen = createScreen(32, 1, stylePool, charPool, hyperlinkPool)
23 return new Output({
24 width: 32,
25 height: 1,
26 stylePool,
27 screen,
28 })
29}
30
31function readScreenRows(screen: ReturnType<typeof createScreen>): string[] {
32 return Array.from({ length: screen.height }, (_, y) =>

Callers 1

output.test.tsFile · 0.85

Calls 1

createScreenFunction · 0.85

Tested by

no test coverage detected