pub fn ansi_runs(source: &str) -> Vec<AnsiRun>Expand description
The source with every ANSI CSI escape removed, split into runs by SGR
colour (catalog/code.json $comment, ansi); adjacent runs of one colour
merge, an incomplete escape stays text. Port of ansiRuns.