69df0074a1
- Update to 0.4.0 * Check that sys.stdout object has isatty attribute in addition to it being True + If using a custom object that does not have the isatty attribute and you would still like color, you can set the CLINT_FORCE_COLOR environment variable * Explicitly set incoming parameter to crayons to string (so that len, etc. work as expected) - Drop LICENSE as a separate source, now included in the upstream tarball.
Steve Kowalik2021-01-06 05:04:48 +00:00
870338a722
- Update to 0.3.0 * Rewrites clean to just remove ANSI codes, not whatever it was doing before (which seemed to be stripping all characters from the string) * Adds random function to get a random color (thanks @azillion) * Adds replace_color function to allow setting replacement for a given color (e.g. replace blue with magneta) (thanks @frostming) * Adds reset_replace_color to reset any replacement colors set - Update URL in the spec to be correct - Write a description
Steve Kowalik2020-02-24 05:07:09 +00:00
a88f967707
- update to 0.2.0 * Add crayons.enable() * color funcs generated from __all__ var * Disable colors on TERM=dumb
Ondřej Súkup2019-03-04 14:45:15 +00:00