anstream

Crates.ioanstream
lib.rsanstream
version0.6.18
sourcesrc
created_at2023-03-16 14:54:31.795594
updated_at2024-11-04 18:02:39.562359
descriptionA simple cross platform library for writing colored text to a terminal.
homepagehttps://github.com/rust-cli/anstyle
repositoryhttps://github.com/rust-cli/anstyle.git
max_upload_size
id811574
size129,073
Ed Page (epage)

documentation

README

anstream

A simple cross platform library for writing colored text to a terminal.

A portmanteau of "ansi stream"

Documentation License Crates Status

Specialized stdout and stderr that accept ANSI escape codes and adapt them based on the terminal's capabilities.

anstream::adapter::strip_str may also be of interest on its own for low overhead stripping of ANSI escape codes.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 996

cargo fmt