(tokens: Token[] | undefined)
| 82 | |
| 83 | // Format cell content to ANSI string |
| 84 | function formatCell(tokens: Token[] | undefined): string { |
| 85 | return tokens?.map(_ => formatToken(_, theme, 0, null, null, highlight)).join('') ?? ''; |
| 86 | } |
| 87 | |
| 88 | // Get plain text (stripped of ANSI codes) |
| 89 | function getPlainText(tokens_0: Token[] | undefined): string { |
no test coverage detected