jazzband / Watson

:watch: A wonderful CLI to track your time!
http://tailordev.github.io/Watson/
MIT License
2.46k stars 241 forks source link

Add color settings #94

Open tolry opened 8 years ago

tolry commented 8 years ago

It would be nice to have some control over the color codes being used. I am having trouble reading tags on a windows machine using putty with default color settings (black background).

If I can help out make this happen, in any way, give me hint :smile:

k4nar commented 8 years ago

Yeah, I think we could add that to the config. Right now all the colors are listed here: https://github.com/TailorDev/Watson/blob/master/watson/cli.py#L32-L41

tolry commented 8 years ago

@k4nar thanks for your quick answer - I just 'patched' my code to make the tags readable, nice quick fix.

I could try making this configurable, but my Python skills are limited, to say the least. Should I give it a try or are there any coders already waiting to implement new features?

mdave16 commented 8 years ago

I'm not sure if this is an issue w/ td-watson and instead w/ PuTTY I think the colour settings would be part of the terminal, and so instead part of PuTTY? check out this.

Not sure if adding colours on putty can be done w/o setting PuTTY up properly :/

jmaupetit commented 8 years ago

@Charc248 this issue deals with ANSI colors. Thanks to ANSI escape codes, your terminal is able to format displayed text. Then, your terminal (PuTTY in your case) is able to theme this display on top.

mapio commented 1 year ago

Can the code owners please review https://github.com/TailorDev/Watson/pull/488 that will close this?

webracer999 commented 8 months ago

On Powershell (blue background) "watson projects" isn't readable.