Skip to main content

format_section_header

Function format_section_header 

Source
pub fn format_section_header(title: &str, color: bool) -> String
Expand description

Format a section header using box-drawing characters.

Produces: ── Title ────────────────────────────────────────── padded to ~60 characters.

When color is true, the dashes are dimmed.