The first part of the bar is printed, followed by zero or more blank lines, followed by the string “istrom”, the rest of the bar and the rest of the info.
[✓] Does this issue still occur in the master branch? (Required if issue)
Neofetch version
Neofetch 7.1.0
Screenshot
Config file
Omitted; it’s nothing unusual.
Verbose log
I’ll save you the effort. Here’s the relevant bit:
+ case ${bar_color_total}${1} in
++ color distro
++ case $1 in
++ printf '\e[38;5;%bm' distro
+ bar_color_total='\033[38;5;distrom'
You can see that it is substituting the string “distro” into the escape sequence for the color. It was supposed to pick a number, but failed. It turns out that the new Fedora logo uses color 12, which is two digits. The patterns in set_text_colors only match single–digit numbers, so presumably the same bug will happen on a fair number of distros.
Description
The first part of the bar is printed, followed by zero or more blank lines, followed by the string “istrom”, the rest of the bar and the rest of the info.
Neofetch version
Neofetch 7.1.0
Screenshot
Config file
Omitted; it’s nothing unusual.
Verbose log
I’ll save you the effort. Here’s the relevant bit:
You can see that it is substituting the string “distro” into the escape sequence for the color. It was supposed to pick a number, but failed. It turns out that the new Fedora logo uses color 12, which is two digits. The patterns in
set_text_colors
only match single–digit numbers, so presumably the same bug will happen on a fair number of distros.