[][src]Module abscissa_core::terminal::status

Terminal status handling.

Presently provides a Cargo-like visual style. Hopefully in future versions this can be made configurable.

status_ok!: Successful status messages

# #[macro_use] extern crate abscissa;
# fn main() {
// Print a Cargo-like justified status to STDOUT
status_ok!("Loaded", "app loaded successfully");
# }

status_err!: Error messages

# #[macro_use] extern crate abscissa;
# fn main() {
// Print an error message
status_err!("something bad happened");
# }

status_attr_ok!: Successful attributes

# #[macro_use] extern crate abscissa;
# fn main() {
// Print an indented attribute to STDOUT
status_attr_ok!("good", "yep");
# }

status_attr_error!: Error attributes

# #[macro_use] extern crate abscissa;
# fn main() {
// Print an error attribute to STDERR
status_attr_err!("error", "yep");
# }

Structs

Status

Status message builder