pub fn block_height(lines: &[Line<'_>]) -> u16
Calculate the height needed for a block containing lines (lines + 2 for borders)