I see the
ansicolor package which seems to just provide "I am writing a cmdline tool and I want to print to the terminal in colors."
However, I'm looking for a package that does some different things:
* take a String and strip ANSI codes from it (I almost expect this from dart:convert),
* take a String and output some sort of structure that shows the ANSI codes, something like:
parseAnsi("Text \033[1mBOLD\033[0m Regular")
// returns [["Text ", 0], ["BOLD", Ansi.BOLD], [" Regular", 0]].
Anyone know of any packages?