RemoveColorFromString removes color codes and OSC 8 hyperlinks from a string.
(a ...any)
| 187 | |
| 188 | // RemoveColorFromString removes color codes and OSC 8 hyperlinks from a string. |
| 189 | func RemoveColorFromString(a ...any) string { |
| 190 | return internal.RemoveEscapeCodes(Sprint(a...)) |
| 191 | } |
| 192 | |
| 193 | func fClearLine(writer io.Writer) { |
| 194 | if RawOutput || writer == nil || !Output { |
searching dependent graphs…