-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Make iter
and into_iter
part of the public interface in StyledStr
#4611
Comments
The internals of The original reason we are doing this is to allow users to provide formatted text without having to also maintaining a bespoke formatting API for #1433, #3108. We also found that the current approach is very expensive in binary size terms which are we working to reduce (#1365). |
Hmm so would formatting be done by writing ANSI into the |
Users can use their crate of choice (e.g. owo-colors) to write ansi codes to a
As most of the work of |
I see, thanks! |
Please complete the following tasks
Clap Version
4.0.32
Describe your use case
I am using clap to power an in-game console, I'd rather not parse ansii characters back to colour information to format the text.
Describe the solution you'd like
Make the iteration functionality of StyledStr part of the public interface
Alternatives, if applicable
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: