Skip to main content

color_runtime

Function color_runtime 

Source
pub fn color_runtime(input: impl Into<String>, bleed: bool) -> String
Expand description

Parses and renders a farben markup string, appending a final SGR reset.

The runtime fallback used internally by color_fmt!, cprint!, and cprintln!. Always a function regardless of active feature flags.

ยงPanics

Panics if the input contains invalid farben markup. Use try_color for error handling.