ansi_simplify {cli} | R Documentation |
It creates an equivalent, but possibly shorter ANSI styled string, by removing duplicate and empty tags.
ansi_simplify(x, csi = c("keep", "drop"))
x |
Input string |
csi |
What to do with non-SGR ANSI sequences, either |
Simplified cli_ansi_string
vector.