Skip to main content

viewer_size

Function viewer_size 

Source
pub fn viewer_size<S: AsRef<str>>(lines: &[S]) -> (u16, u16)
Expand description

The window size that shows all of lines whole inside the frame, at least the minimum window size.