It creates an equivalent, but possibly shorter ANSI styled string, by removing duplicate and empty tags.
Usage
ansi_simplify(x, csi = c("keep", "drop"))
It creates an equivalent, but possibly shorter ANSI styled string, by removing duplicate and empty tags.
ansi_simplify(x, csi = c("keep", "drop"))