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

Autoreset Feature #17

Closed
KennyOliver opened this issue Dec 10, 2021 · 1 comment
Closed

Autoreset Feature #17

KennyOliver opened this issue Dec 10, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@KennyOliver
Copy link
Owner

Like colorama's init(autoreset=True)

@KennyOliver KennyOliver self-assigned this Dec 10, 2021
@KennyOliver KennyOliver added the enhancement New feature or request label Dec 10, 2021
@KennyOliver KennyOliver pinned this issue Dec 11, 2021
@KennyOliver
Copy link
Owner Author

Magic functions return with Clr.RS as of v5.3.0.
This issue was known as "color leakage".

There's no need to have auto-reset as this abstraction could make it harder to voluntarily have color leakage.
Users would no longer be able to make whole chunks of text a single color, unless they turn this potential setting on and off all the time to account for different use cases within a single code base.

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

No branches or pull requests

1 participant