Skip to content
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

Feature Request: Ability to set the style dynamically #77

Open
user4815162342 opened this issue Apr 23, 2020 · 1 comment
Open

Feature Request: Ability to set the style dynamically #77

user4815162342 opened this issue Apr 23, 2020 · 1 comment
Labels
feature-request Feature Request - Let's have some new things!

Comments

@user4815162342
Copy link

I can read the style on a ColoredString and analyze it, but there's no way to easily copy that style to another string, or build up a style dynamically before setting it.

I'd like to see a 'set_style' function on the Colorize trait. It would be even nicer if the 'add' method on Style were made public so I can create my own styles before calling set_style.

@mackwic mackwic added the feature-request Feature Request - Let's have some new things! label Jun 30, 2022
@mackwic
Copy link
Collaborator

mackwic commented Jun 30, 2022

Good idea 👍
Thank you for your feature request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Feature Request - Let's have some new things!
Projects
None yet
Development

No branches or pull requests

2 participants