On OmniOS (Illumos, and potentially other OS families as well), the TERM environment variable is not respected when running hyfetch.
When setting TERM to xterm-mono, hyfetch still prints colors, which can be potentially dangerous to terminals that do not support colors, whether it be user choice or hardware/software support.
[x] Does this issue still occur in the master branch? (Required)
Expected behavior
Hyfetch should not print colors when TERM is set to xterm-mono.
Screenshots
Please include a screenshot of your system information if the specific system environment is relevant to the bug.
Config file
Please paste the content of ~/.config/hyfetch.json below:
Describe the bug
On OmniOS (Illumos, and potentially other OS families as well), the TERM environment variable is not respected when running
hyfetch
.When setting TERM to
xterm-mono
, hyfetch still prints colors, which can be potentially dangerous to terminals that do not support colors, whether it be user choice or hardware/software support.Expected behavior
Hyfetch should not print colors when TERM is set to
xterm-mono
.Screenshots
Please include a screenshot of your system information if the specific system environment is relevant to the bug.
Config file
Please paste the content of
~/.config/hyfetch.json
below:Additional context
System information:
Python version: