Expand description
§Billboard
Display informational boxes in the terminal.
§Example
Your Cargo.toml should include billboard as a dependency
[dependencies]
billboard = "0.2"use billboard::Billboard;
fn main() {
Billboard::default().eprint("Hello, World!");
}More examples can be found here.
§Acknowledgements
This library was heavily inspired by boxen, but has no official association with that project. billboard
The billboard crate provides a convenient, high-level API
for creating billboards in the terminal.
Structs§
- Billboard
Billboardis a customizable data structure that will pretty print content separated by newlines (\n).- Border
Components BorderComponentsdefines theStrings to use when dislaying the corners and sides of aBillboard.- Config
Configholds the configuration of aBillboardand determines how it should be displayed
Enums§
- Alignment
- Defines the alignment for padding operations.
- Border
Color - A terminal color.
- Border
Style - Different styles for the border of a
Billboard.