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

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

Computes the longest suffix that fits in the given width.

Breaks between any two graphemes.