Skip to main content

header

Function header 

Source
pub fn header(title: &str, width: usize) -> String
Expand description

Format a header with separator line.

Returns colored output if stdout is a TTY, plain text otherwise.