-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Apply color patch from rtorrent-0.9.6_color.patch #420
base: master
Are you sure you want to change the base?
Conversation
Even if Jari accepts this, doing it as an array with names or enum indices is way less code and more extensible. |
As said, array and enums is a must. It also needs to have a proper setting to enable/disable colors, and not to mention this should obviously be in command_ui.cc, under the 'ui.foo.bar' command namespace. I'm all for adding colors if the code is good. (default to off) |
would you please give me a hint about array and enum that needed. |
You can take a look pyroscope's beautiful code in rtorrent-ps : https://github.com/pyroscope/rtorrent-ps/blob/master/patches/ui_pyroscope.cc |
Just for your information: The "official" colorpatch branch is avaliable in my fork of the repository (including prior versions, that's also the one used in the Arch Linux rtorrent-color AUR package): https://github.com/KopfKrieg/rtorrent/tree/colorpatch |
Since my C++ skills are very basic and I have trouble porting the v0.9.6 colorpatch to the shortly released v0.9.7: Is there somebody who could help me rewrite the colorpatch so it could officially be added to rtorrent? Including the above mentioned changes to add the code to the command_ui.cc and using enums (and adding an option to disable colors, which should probably be the default?)? |
+1 With lib v0.9.7 i have to rebuild rtorrent without color recently. Seems worse than early with colors. |
Look at Or take my "palette" of functional colors (or parts of it):
… and code scattered around the module using those colors. |
What's the progress of this? |
Well, I don't maintain the patch any more, and it doesn't seem like anyone has tried to port it to v0.9.7 yet. So … still the same as 3 years ago, probably. |
Please add color to rtorrent