(node: DOMElement)
| 377 | // No stringWidth, no wrapping, no tab expansion — the producer (e.g. ColorDiff) |
| 378 | // already wrapped to the target width and each line is exactly one terminal row. |
| 379 | const measureRawAnsiNode = function (node: DOMElement): { |
| 380 | width: number |
| 381 | height: number |
| 382 | } { |
| 383 | return { |
| 384 | width: node.attributes['rawWidth'] as number, |
| 385 | height: node.attributes['rawHeight'] as number, |
| 386 | } |
| 387 | } |
| 388 | |
| 389 | /** |
| 390 | * Mark a node and all its ancestors as dirty for re-rendering. |
nothing calls this directly
no outgoing calls
no test coverage detected