hykilpikonna / hyfetch

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

Incorrect width when using bedrock's ASCII #19

Closed ThibautSnoeijs closed 1 year ago

ThibautSnoeijs commented 1 year ago

In the AUR version yay

And in bash <(curl -sL neowofetch.hydev.org) curl

I haven't tested other versions yet but I think the issue could be with how it counts the width of the ASCII because of all the slashes hyfetch -c

hykilpikonna commented 1 year ago

Thank you for reporting the issue! This is because of backslash didn't act as an escape code for read -r when calculating the ascii code length, even though the backslashes in $ascii_data is already escaped. (Caused by: https://github.com/dylanaraps/neofetch/pull/1543)

hykilpikonna commented 1 year ago

Fixed!

image