(title: &str)
| 78 | } |
| 79 | |
| 80 | pub fn print_section(title: &str) { |
| 81 | let style = theme_bold(); |
| 82 | println!(); |
| 83 | println!("{}", style.apply_to(format!("── {title} ──"))); |
| 84 | println!(); |
| 85 | } |
| 86 | |
| 87 | /// Print a step indicator like "[2/5] Doing something..." without advancing to the next line, |
| 88 | /// so it can be updated in-place by a subsequent call to [`print_step_done`]. |