Matthew Peveler
|
50d6cc85f8
|
Add hasattr check for isatty on sys.stdout (#27)
* Add hasattr check for isatty on sys.stdout
* fix flake8 error
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
2020-08-26 17:24:18 -04:00 |
|
Matthew Peveler
|
fb04b80e3c
|
Handle passing non-string types into crayons
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
2020-06-05 02:38:57 -04:00 |
|
Matthew Peveler
|
3a218b9a15
|
fix: add reset_replace_colors to __all__
|
2019-10-09 15:38:35 -03:00 |
|
Matthew Peveler
|
0963263292
|
fix: remove second COLORS assignment
|
2019-10-09 15:18:30 -03:00 |
|
Matthew Peveler
|
eb50b1ab9f
|
feat: add function to reset replace codes
|
2019-10-09 13:07:58 -03:00 |
|
Matthew Peveler
|
a7ebd892aa
|
feat: change clean to strip ansi codes instead of all text?
|
2019-10-09 13:07:36 -03:00 |
|
Matthew Peveler
|
8133251c2d
|
refactor: move colors out of __all__ into own tuple
|
2019-10-09 12:46:26 -03:00 |
|
Frost Ming
|
0bb9d45880
|
Allow customize color replacement. (#24)
* Allow customize color replacement.
* Fix wrong names
|
2019-10-09 07:40:52 -08:00 |
|
Matthew Peveler
|
800c50aeab
|
Add random() to select a color at random (#14)
|
2019-09-09 06:45:05 -03:00 |
|
Matthew Peveler
|
fbf112113c
|
add flake8 linting for crayons
|
2019-09-09 06:07:18 -03:00 |
|
kennethreitz
|
7638741ab6
|
Merge branch 'master' into enable
|
2019-02-21 06:34:57 -05:00 |
|
kennethreitz
|
b7772888ce
|
Merge pull request #12 from the-pont/master
Add support for Windows
|
2019-02-21 06:34:13 -05:00 |
|
kennethreitz
|
7608f4def5
|
Merge pull request #17 from ghost/master
color funcs generated from __all__ var
|
2019-02-21 06:32:57 -05:00 |
|
kennethreitz
|
9e648743d1
|
Merge pull request #20 from duck2/master
Disable colors on TERM=dumb
|
2019-02-21 06:32:44 -05:00 |
|
Mickaël Schoentgen
|
eb1ce43aa3
|
Fix DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
|
2019-01-05 23:07:19 +01:00 |
|
Duck Deux
|
6c31a387a9
|
use os.getenv
|
2018-10-31 23:30:46 +03:00 |
|
duck2
|
dcbabd9de6
|
Disable colors on TERM=dumb
|
2018-09-17 12:28:48 +03:00 |
|
l0x6c
|
37b53411d9
|
color funcs generated from __all__ var
|
2018-09-11 03:48:51 +03:00 |
|
Graham Ullrich
|
84afbe9334
|
Add "normal" function
Backport improvements/fixes from pipenv.
|
2018-03-10 13:49:26 -07:00 |
|
Jason Pierrepont
|
05c8a47c4c
|
Add support for Windows
|
2017-10-04 22:19:48 -04:00 |
|
Nikola Kantar
|
383bef2ef4
|
Add crayons.enable()
crayons.enable() does pretty much the opposite of crayons.disable() - it
sets DISABLE_COLOR to False.
|
2017-01-26 20:49:46 -08:00 |
|
kennethreitz
|
4fd70b8f24
|
basics
|
2017-01-19 19:28:15 -05:00 |
|