Skip to main content

wrap

Function wrap 

Source
pub fn wrap(line: &Line<'_>, width: usize) -> Vec<Line<'static>>
Expand description

Wrap one styled line to width columns. Continuation lines keep the original indentation.