pub fn panel_fit(title: &str, lines: &[String], max_width: usize) -> String
Panel sized to content, not full terminal width.