Skip to main content

decompose

Function decompose 

Source
pub fn decompose(input: &str, sink: &mut dyn RichSink)
Expand description

Decomposes external terminal text into maximal escape-free styled slices.

This is the single ANSI ingress for the rich pipeline: external producers parse once here, and every downstream component may assume its text contains neither escape sequences nor newlines.