(stylePool: StylePool)
| 17 | } from './outputRenderStats.js' |
| 18 | |
| 19 | function 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 | |
| 31 | function readScreenRows(screen: ReturnType<typeof createScreen>): string[] { |
| 32 | return Array.from({ length: screen.height }, (_, y) => |
no test coverage detected