This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
pt/members/libpt-cli/src/printing.rs

12 lines
247 B
Rust
Raw Normal View History

2023-07-09 17:53:20 +02:00
//! # tools that make printing stuff better
/// Quickly get a one line visual divider
2024-03-01 20:15:16 +01:00
pub fn divider() -> String {
format!("{:=^80}", "=")
2023-07-09 17:53:20 +02:00
}
/// Quickly print a one line visual divider
2024-03-01 20:15:16 +01:00
pub fn print_divider() {
println!("{:=^80}", "=")
2023-07-09 17:53:20 +02:00
}