showEscapes writes the escape character as \e, so color codes such as \e[33m stay visible in reports and a missing reset can be spotted.
(text string)
| 208 | // showEscapes writes the escape character as \e, so color codes such as |
| 209 | // \e[33m stay visible in reports and a missing reset can be spotted. |
| 210 | func showEscapes(text string) string { |
| 211 | return strings.ReplaceAll(text, "\x1b", `\e`) |
| 212 | } |
| 213 | |
| 214 | // displayName names a request in reports, including blocked ones. |
| 215 | func displayName(e loggedRequest) string { |
no outgoing calls
no test coverage detected