HTTPie doesn’t honor –style colors in mintty/cygwin
Be sure to check our $TERM variable.
cowboy@bigcowboy:\~$ echo $TERM
xterm-256color
It should have the words “256color” before you can use httpie’s –styles.
Specifically, the offending code is in httpie models.py: Line 25
colors = 256 if '256color' in os.environ.get('TERM', '') else 88
Hope that helps,
Brian Chavez
Leave a comment
Your email address will not be published. Required fields are marked *