line_display_height

Function line_display_height 

Source
fn line_display_height(line: &Line<'_>, available_width: usize) -> usize
Expand description

Estimate how many terminal rows a line will occupy once wrapped.