Function doh::util::max_listing_lines [] [src]

pub fn max_listing_lines(term_h: usize) -> usize

Get max amount of listed elements per page, based on term height

Leaves out 1 line for header and 1 line for spacing