Pipenv: Bright white is not readable on black-on-white terminal

Created on 25 Sep 2017  路  11Comments  路  Source: pypa/pipenv

pipenv uses "bright white" (bold white) liberally for emphasis, which is unreadable if one's terminal has a white background, turning important warnings into some sort of mad libs:

2017-09-24t22-48-46-o00o

it should instead use the escape code for bold, without specifiying a colour:

>>> print("Your \033[1mPipfile\033[m now contains pinned versions")

2017-09-25t13-42-06-o000
2017-09-25t13-43-07-ooo0

Most helpful comment

im also not a fan of the suggestion that this is irrelevant because configurable, and that black-on-white is so uncommon

both xterm and urxvt default to black on white with white set to... white. various libvte terminals default to white on black with non-off-black-black, and have the opposite as a preset

seems wild to me that pipenv would not be usable on stock xterm

All 11 comments

545 (also #660 for more detail on the off-white/off-black suggestion).

ok

what about my suggestion to use plain bold though

im also not a fan of the suggestion that this is irrelevant because configurable, and that black-on-white is so uncommon

both xterm and urxvt default to black on white with white set to... white. various libvte terminals default to white on black with non-off-black-black, and have the opposite as a preset

seems wild to me that pipenv would not be usable on stock xterm

@codl open a pull request to crayons.py to give it bold without white.

i did it

7.9.3 released, which fixes this.

I didn't know you could do bright without specifying a color 馃槅

thanks!

thanks for the persistence!

鉁煃扳湪

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fbender picture fbender  路  3Comments

hynek picture hynek  路  3Comments

konstin picture konstin  路  3Comments

AkiraSama picture AkiraSama  路  3Comments

FooBarQuaxx picture FooBarQuaxx  路  3Comments