Function cursive::utils::lines::simple::simple_suffix[][src]

pub fn simple_suffix(text: &str, width: usize) -> Span
Expand description

Computes the longest suffix that fits in the given width.

Breaks between any two graphemes.