Skip to main content

to_cr

Function to_cr 

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

Typed text with every line break as CR, what a Return key sends: a lone LF doesn’t end a line in a Windows console.