pub fn adaptive_wrap_lines<'a, I, L>(
lines: I,
width_or_options: RtOptions<'a>,
) -> Vec<Line<'static>>where
I: IntoIterator<Item = L>,
L: IntoLineInput<'a>,Expand description
Wraps multiple input lines with URL-aware heuristics, applying
initial_indent to the first line and subsequent_indent to the
rest. Each line is independently checked for URLs; URL detection on
one line does not affect wrapping of the others.
This is the multi-line counterpart to adaptive_wrap_line and is
the primary wrapping entry point for most history-cell rendering.