(text: string)
| 15 | |
| 16 | /** Returns true if the string contains any ANSI escape sequences. */ |
| 17 | export function hasAnsi(text: string): boolean { |
| 18 | ANSI_RE.lastIndex = 0; |
| 19 | return ANSI_RE.test(text); |
| 20 | } |
| 21 | |
| 22 | // ─── ANSI → inline HTML spans ───────────────────────────────────────────────── |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected