(screen: ReturnType<typeof createScreen>)
| 29 | } |
| 30 | |
| 31 | function readScreenRows(screen: ReturnType<typeof createScreen>): string[] { |
| 32 | return Array.from({ length: screen.height }, (_, y) => |
| 33 | Array.from({ length: screen.width }, (_, x) => charInCellAt(screen, x, y) ?? ' ').join(''), |
| 34 | ) |
| 35 | } |
| 36 | |
| 37 | describe('Output shared char cache', () => { |
| 38 | it('reuses clustered line cache across Output instances that share a StylePool', () => { |
no test coverage detected