gitcheck icon indicating copy to clipboard operation
gitcheck copied to clipboard

Colors...

Open N2OMatt opened this issue 10 years ago • 7 comments

HI :) There are any chance to customize the output colors? In my terminal I must hack the gitcheck.py to change the colors because they don't fit quite well in my color scheme.... Perhaps this could be added into a ".rc" file in the user's home directory...

Another thing, I think if the above did enter in consireration another thing that could be changed is the the way that colored output is coded. Why not use something like termcolor?

If there are any chance of those thing happen I'm very willing to make them :)

Thanks :)

N2OMatt avatar Nov 08 '15 11:11 N2OMatt

Hi,

I think a good idea, I will reflect on your idea. Thank for your feature request

badele avatar Nov 08 '15 19:11 badele

OK! Thanks and keep me in touch! On Nov 8, 2015 5:29 PM, "Bruno Adele" [email protected] wrote:

Hi,

I think a good idea, I will reflect on your idea. Thank for your feature request

— Reply to this email directly or view it on GitHub https://github.com/badele/gitcheck/issues/27#issuecomment-154859733.

N2OMatt avatar Nov 08 '15 19:11 N2OMatt

I intent to use the https://github.com/dslackw/colored. It seem not compatible with windows, but i reflect for that the theme is compatible with all platforms

badele avatar Nov 21 '15 10:11 badele

@N2OMatt Can you try the new colortheme feature ?

Thanks

badele avatar Nov 22 '15 11:11 badele

Yep, for sure!

But regarding the lib, should we use termcolor? colored? Or roll out our own set of functions? Waiting your reply to start digging in :)

Thanks

N2OMatt avatar Nov 23 '15 13:11 N2OMatt

Hi,

Actually, you have two choice :)

  • colored library (it most easy)
    • The older term code value (see the tips => http://misc.flogisoft.com/bash/tip_colors_and_formatting )

Chose the method that you prefer :)

Thanks

badele avatar Nov 23 '15 20:11 badele

Absolutely, just give me some couple of days :D

N2OMatt avatar Nov 24 '15 12:11 N2OMatt