use billboard::{Billboard, BorderComponents, BorderStyle}; use console::style; pub fn main() { Billboard::builder() .border_style(BorderStyle::Custom(BorderComponents { horizontal: "10".to_string(), vertical: "10".to_string(), bottom_left: "0".to_string(), bottom_right: "0".to_string(), top_left: "0".to_string(), top_right: "0".to_string(), })) .build() .eprint(&format!( "This is a billboard\nwith a custom border\nwhich i think is {} {} cool", style("pretty").red(), style("pretty").green() )); }