Skip to main content

block_height_for

Function block_height_for 

Source
pub fn block_height_for(line_count: usize) -> u16
Expand description

Calculate the height needed for a block with a given number of lines (lines + 2 for borders)