Skip to main content

text_lines

Function text_lines 

Source
pub fn text_lines(text: &str) -> String
Expand description

Words on several lines, as they are shown or written: every line break made “\n” (a lone “\r” too, which some readers of iCalendar take for one), tabs kept, the other control characters gone (a terminal’s escape sequences, the marks that turn text right to left).