-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide API for implicit conversions #5
Labels
C-enhancement
Category: Raise on the bar on expectations
Comments
See https://crates.io/crates/fwdansi/ which was the inspiration for this, converting ANSI escape codes to termcolor calls. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This was referenced Aug 17, 2022
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
epage
added a commit
that referenced
this issue
Sep 28, 2022
Prior art - rich (python) - ansi_colours (rust, c) - rgb2ansi256 (rust) This is a step towards #5
epage
added a commit
that referenced
this issue
Sep 28, 2022
Prior art - rich (python) - ansi_colours (rust, c) - rgb2ansi256 (rust) This is a step towards #5
epage
changed the title
Provide stream API with implicit conversions
Provide API for implicit conversions
Jan 13, 2023
#36 takes care of wincon |
This was referenced Mar 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most term styling crates require the format-site to know the capabilities of the intended output stream. This complicates things when the the format-site and outputting are decoupled.
The idea for this is that people choose the ansi styling crate of their choice and either generate a string and print it as needed (required for clap) or construct a set of stream wrappers around stdout/stderr and write their styled
Display
types directly to it.This issue is for a crate that can convert strings or be used in a custom stream to handle
Conversions
Related issues:
The text was updated successfully, but these errors were encountered: