Skip to main content

plain

Function plain 

Source
pub fn plain(text: &str) -> Cow<'_, str>
Expand description

Text for one row: line breaks and tabs become spaces and other control characters go, so every interface measures and shows what a terminal would.