boxx 0.0.1-alpha

Display informational boxes in the terminal.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use boxx::{BorderComponents, BorderStyle, Boxx};

pub fn main() {
    Boxx::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()
        .display("This is a box\nwith a custom border\nwhich i think is pretty pretty cool");
}