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

Computes the longest prefix that fits in the given width.

Breaks between any two graphemes.