Skip to content

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

@thepigeongenerator

Description

@thepigeongenerator

Describe the bug

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

  • Does this issue still occur in the master branch? (Required)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions