Open TablesawTablesawsen opened 5 years ago
Oh this is interesting. I've mostly avoided specifying color because I'm not sure how to control the explicitly colored bits interacting with the "default" bits. How does your fork look?
This might be sort of laborious and is kind of a tangent, but I think at some point I should introduce a "color-specified" mode and then a fallback "b/w" mode. (That could also introduce "theme" support.)
The only code changes for me have been adding 'green' in the code above. It looks like this: It would make sense to have this respond to a flag, possibly talking a color argument.
The underscores don't pop for me very well in my terminal (particularly when more of the grid has been filled in), so I'd like to be able to add color. Right now I have a fork with this code:
I'm not familiar with blessed, and I'm not sure if there's an elegant way to slot in a color (other than using getattr on a concatenated string).