removeAnsiCharactersFromBytes removes ANSI escape codes from bytes slices.
(input []byte)
| 367 | |
| 368 | // removeAnsiCharactersFromBytes removes ANSI escape codes from bytes slices. |
| 369 | func removeAnsiCharactersFromBytes(input []byte) []byte { |
| 370 | return ansiPattern.ReplaceAll(input, nil) |
| 371 | } |
no outgoing calls
no test coverage detected