fn print_sidebar_block( buf: &mut Buffer, id: &str, title: &str, items: impl Iterator<Item = impl Display>)