Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init(autoreset=True) is disabling colors and Fore.WHITE is grey #310

Open
h4knet opened this issue Aug 2, 2021 · 1 comment
Open

init(autoreset=True) is disabling colors and Fore.WHITE is grey #310

h4knet opened this issue Aug 2, 2021 · 1 comment

Comments

@h4knet
Copy link

h4knet commented Aug 2, 2021

Hello,

I've search for people getting the same errors has me, but I didn't find any related issues.
I'm using PyCharm 2021.1.3 (latest) on Windows 10 and when I use the init() command with autoreset=True, there is no color at all.

from colorama import Fore, Style, init
init(autoreset=True)

The second issue, I ran into, is that Fore.WHITE actually renders as grey:
image

The other lines are using regular print()
Here is the code:
print(Fore.WHITE, "AAAAAAAAAAAAAA", Style.RESET_ALL, sep='')

The behavior is the same with and without the init() command.

@wallpaper64
Copy link

wallpaper64 commented Apr 2, 2022

in order for the white color to be displayed normally, use the Back.LIGHTWHITE_EX command instead of BACK.WHITE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants