let span = |top: usize| -> u32 { heights[top..=focused].iter().map(|&h| u32::from(h)).sum() };
fn draw_block(frame: &mut Offscreen, block: &Block<'_>, rect: Rect, current: bool, theme: &Theme) {
fn record_block(hits: &mut Hits, field: usize, block: &Block<'_>, rect: Rect, current: bool) {