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

Fore.RESET is resetting style #374

Open
Shardj opened this issue Apr 5, 2023 · 0 comments
Open

Fore.RESET is resetting style #374

Shardj opened this issue Apr 5, 2023 · 0 comments

Comments

@Shardj
Copy link

Shardj commented Apr 5, 2023

print(f"{Style.BRIGHT}{Fore.RED}I should be bright and red.{Fore.RESET} I should be the default foreground colour and still bright, but I'm not bright.")

Fore.RESET behaviour is currently identical to Style.RESET_ALL behaviour

I'm currently just dropping Fore.RESET = "\033[39m" after every from colorama import Fore, Style to fix this as 39m is the correct code to only reset the colour and not reset the style.

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

1 participant