(options: Options)
| 178 | private charCache: Map<string, ClusteredChar[]> = new Map() |
| 179 | |
| 180 | constructor(options: Options) { |
| 181 | const { width, height, stylePool, screen } = options |
| 182 | |
| 183 | this.width = width |
| 184 | this.height = height |
| 185 | this.stylePool = stylePool |
| 186 | this.screen = screen |
| 187 | |
| 188 | resetScreen(screen, width, height) |
| 189 | } |
| 190 | |
| 191 | /** |
| 192 | * Reuse this Output for a new frame. Zeroes the screen buffer, clears |
nothing calls this directly
no test coverage detected