dylanaraps / neofetch

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

Timeout to short to get term_size on low end server #2170

Open 2nil-web opened 2 years ago

2nil-web commented 2 years ago

Description

When configuring neofetch to display graphic images using image_backend "sixel" (correctly configured but I don't think this particular backend is the only one concerned), I noticed that neofetch falls back to ascii display because of being unable to get the term_size in the get_window_size function. To get around this issue I just had to extend the timeout to read the term_size to "0.1" (line 4066). I suppose that more thorough testing should done to make a correct evaluation of the timeout. Maybe making this timeout configurable would another way to this issue into account ...

Neofetch version

Neofetch 7.1.0

Screenshot

Config file

Verbose log

  1. Run neofetch -vv 2> neofetchlog
  2. Upload the contents of neofetchlog to pastebin, gist or equivalent.
  3. neofetchlog is here ==> https://pastebin.com/5dtkb5GF
stvhay commented 1 year ago

I had to make the timeout 0.15 with backend iterm2