dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
21.88k stars 1.76k forks source link

[bug] part of the ascii art is printed below the command prompt #2302

Closed ghost closed 1 year ago

ghost commented 1 year ago

Description

Part of the ascii art for the Ubuntu logo is printed below the command prompt when neofetch is invoked. I haven't edited the config file, so it's all using the default settings. The issue is not constrained to just the new Ubuntu logo, I've tested it with a few other logos as well, and found that the new Arch logo, the CentOS logo, and the LinuxMint logo are all broken as well. This leads me to believe that there are others that are also broken but I've only checked a few logos. It's worth noting that not all of the logos are broken, only some of them.

information about my machine, in case it helps at all:

Operating system: Ubuntu 22.10 Terminal emulator: gnome-terminal Shell: GNU bash, version 5.2.2(1)-release (x86_64-pc-linux-gnu) To check if the problem is shell specific, I tested neofetch on the default shell sh (which is a symbolic link to /bin/dash), and the error is also present there. (The version of dash that I have installed is dash 0.5.11+git20210903+057cd650a4ed-8ubuntu1.)

Neofetch version

$ Neofetch --version
7.1.0

Screenshot

Screenshot of the new Ubuntu logo: Screenshot from 2023-03-01 14-08-10 Screenshot of the new Arch logo (I highlighted the line where the error is so that it's more visible): Screenshot from 2023-03-01 14-30-11 Screenshot of the LinuxMint logo: Screenshot from 2023-03-01 14-31-15

Config file

I put both the config file and the verbose log in the following gist. The title of the gist is the filename of the first file that I uploaded, "neofetch_config", because I couldn't figure out how to change the gist title, but both files are present in the gist. https://gist.github.com/Resuscitating/a13fcbe7c8511e945afb694762779142

Verbose log

I put both the config file and the verbose log in the following gist. The title of the gist is the filename of the first file that I uploaded, "neofetch_config", because I couldn't figure out how to change the gist title, but both files are present in the gist. https://gist.github.com/Resuscitating/a13fcbe7c8511e945afb694762779142

  1. Run neofetch -vv 2> neofetchlog
  2. Upload the contents of neofetchlog to pastebin, gist or equivalent.
ghost commented 1 year ago

If there's any more information that I can provide, please let me know. I'll try to get back to you as soon as possible. I'm going to spend a bit of time looking through the source to see if I can locate what's causing the issue, and if I find something I'll submit a PR with a fix.

hykilpikonna commented 1 year ago

Similar to #2217, #2209. Fixed in HyFetch 1.4.3 / neowofetch 7.3.3 by the pull request https://github.com/hykilpikonna/hyfetch/pull/24.

HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.

Read the "Running Updated Original Neofetch" section for more info!

ghost commented 1 year ago

@hykilpikonna Thanks for your comment! Soon after I created this issue, I found HyFetch and I've been using it rather than NeoFetch since. I had meant to close this issue once I found out that this repo is no longer maintained, but I ended up getting distracted and forgetting.

I'm gonna go ahead and close the issue now. :)