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

fix colours not reverting properly #314

Merged
merged 2 commits into from
Jun 26, 2024
Merged

fix colours not reverting properly #314

merged 2 commits into from
Jun 26, 2024

Conversation

thepigeongenerator
Copy link
Contributor

Description

Made it so if neofetch or neowofetch was executed in multi-user.target, that the colours revert properly.

Relevant Links

fixed this issue.

Screenshots

before:
image

after:
image

@thepigeongenerator
Copy link
Contributor Author

I just realised that I could've used a VM for the photos.

@hykilpikonna
Copy link
Owner

hykilpikonna commented Jun 26, 2024

Strange, in theory ESC[39;49m should reset both foreground and background to default...

image

But okay if ESC[0m works on more environments, then let's change it this way. Thanks!

@hykilpikonna hykilpikonna merged commit c185f01 into hykilpikonna:master Jun 26, 2024
@thepigeongenerator
Copy link
Contributor Author

thepigeongenerator commented Jun 27, 2024

My guess is that it could be that some attribute causes the issue. 🤔

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

Successfully merging this pull request may close these issues.

Console colours don't reset properly after having executed the command.
2 participants