4 releases
0.1.3 | Aug 16, 2022 |
---|---|
0.1.2 | Aug 16, 2022 |
0.1.1 | Aug 16, 2022 |
0.1.0 | Aug 15, 2022 |
#108 in #printing
5KB
90 lines
tablier
A little Rust library for creating panels
Example
use panel::{Panel, PanelBox};
fn main() {
println!(
"{}",
Panel {
content: "hello world",
panel_box: PanelBox::ascii(),
}
.render()
);
println!(
"{}",
Panel {
content: "hello world\nmy name is victor\ni'm 16",
panel_box: PanelBox::ascii(),
}
.render()
);
}