Releases: kennethreitz/crayons
Releases · kennethreitz/crayons
v0.4.0
v0.3.1
Bugfixes
- Explicitly set incoming parameter to crayons to string (so that len, etc. work as expected)
v0.3.0
Breaking:
- Rewrites
clean
to just remove ANSI codes, not whatever it was doing before (which seemed to be stripping all characters from the string)
Features:
- 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