hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.15k stars 90 forks source link

Console colours don't reset properly after having executed the command. #313

Closed thepigeongenerator closed 1 week ago

thepigeongenerator commented 2 weeks ago

Describe the bug

After hyfetch or neowofetch was executed, the terminal's text colour does not return to normal, if in multi-user.target.

Expected behavior

The terminal's text colour is returned to normal.

Screenshots

Excuse me for the poor photograph, but I couldn't so quickly figure out how to make a screenshot in multi-user.target, if it's even possible. (I doubt it) image

Config file

{
    "preset": "transgender",
    "mode": "rgb",
    "light_dark": "dark",
    "lightness": 0.65,
    "color_align": {
        "mode": "horizontal",
        "custom_colors": [],
        "fore_back": null
    },
    "backend": "neofetch",
    "args": null,
    "distro": null,
    "pride_month_shown": [],
    "pride_month_disable": false
}

Additional context

I saved my command output to a file, if you go to line 45 and look at the last escape code, changing \033[39;49m to \033[0m solves the issue. hyfetch.txt