procr_ansi_term

Crates.ioprocr_ansi_term
lib.rsprocr_ansi_term
version0.2.2
sourcesrc
created_at2023-10-12 21:31:13.113044
updated_at2023-10-13 18:04:17.127552
descriptionLibrary for ANSI terminal colors and styles (bold, underline)
homepage
repositoryhttps://github.com/bzm3r/procr_ansi_term
max_upload_size
id1001702
size159,689
Brian Merchant (bzm3r)

documentation

README

procr-ansi-term

Documentation

What is this crate useful for?

Styling data that will be eventually rendered by a terminal capable of interpreting ANSI style codes.

Should I use this crate?

Short answer: no. owo_colors does everything this crate does, but more rationally, and more effectively.

History

nu-ansi-term is used by tracing_subscriber (for what may be considered historical reasons), and was a copy of ansi_term but with Colour changed to Color and various colors added. procr-ansi-term, born in a time when I didn't know better, adds functionality to nu-ansi-term which allows ANSI formatting of format_args!, and also allows various ANSI strings/format args to be nested in styling, with a primitive parent-child inheritance of said styling.

Commit count: 344

cargo fmt