-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Adding custom coloring support #49
Comments
Hey @tarasivashchuk, thank you, it would be awesome! But do you realize how much trouble is that? It's actually way harder than it seems. The problem is not generating the colors on the terminal, which is what Imagine this, a colorized text in a terminal have the format "
So for these operations would have to work:
It's that tricky.... Regarding the state I'm with this, I like That's when I went to see if there was something ready, and found the cool Maybe you could help him there! Which would also help here a lot! If that work, integrating it here should be relatively easy... Thank you man! Appreciate your help 👍 |
What I like the most in Then the install could support something like: $ pip install alive-progress[color] How cool would that be? Well, what do you think of all this information? |
Sorry for raising the old topic again, but I need to ask if there's a chance for this approach in order to colorize the entire output from
EDIT: I just realized the above suggestion is achievable with:
|
Hi! Sorry to write in an old topic. It seems that the colorful library does not receive updates anymore. An easy (temporary) solution could be to add a edit: when this comes out, i'll be more than happy to create a custom new theme called "pip"^^ edit n°2: |
Hi @ThomasByr! No need to apologize at all, it is still open after all. You are absolutely correct!! I don't know why I always thought about color support in the spinners... I guess it was for consistency, to either support it in full or not. Well, the word "theme" is already taken, but I do like the idea of having some "color config" that applies colors to individual widgets, right before printing... That should be way simpler than applying to parts of a spinner like before. Thanks, man. Very nice ideas here. |
Wow, it's much more complicated than I initially thought... It changed the size of the cells, which made the Cell Architecture remove the colors in some cases, but I've worked around it. Screen.Recording.2023-10-23.at.22.01.47.movSuccess!!! 🎉 |
wow very nice ^^ the result looks awesome ! hyped for this |
Thanks, man! |
Hey, so I saw that you have adding coloring options in the to do, so I thought I'd open an issue for it for discussion as I wouldn't mind working on it. I was going to utilize
colorama
, but am open to suggestions as well as I haven't really used that library before so either way it will be something I'm learning.Where are you at with this as of now? Thanks!
The text was updated successfully, but these errors were encountered: