fastfetch-cli / fastfetch

An actively maintained, feature-rich and performance oriented, neofetch like system information tool.
MIT License
8.44k stars 350 forks source link

Display information cut off when flashfetch in /etc/bash.bashrc #605

Closed kojq closed 8 months ago

kojq commented 8 months ago

Using the 2.2.0 release.

Shows:

Display (NCP005E): 1920x1080 @ 144Hz (as 960x540) [Built-i]

instead of:

Display (NCP005E): 1920x1080 @ 144Hz (as 960x540) [Built-in]

When:

Opening foot terminal with flashfetch in /etc/bash.bashrc.

This does not occur with general use, meaning when manually typed.

FYI: I didn't try with fastfetch or with the .bashrc in the user home dir.

CarterLi commented 8 months ago

Screenshots?

What if you make your terminal larger?

CarterLi commented 8 months ago

I can't reproduce it with foot 1.15.3

kojq commented 8 months ago

It is like this most of the time:

image

However, it is like this on rare occasion:

image

CarterLi commented 8 months ago

Please put this line before running fastfetch and make a screenshot again

echo -e "\e[?7lThis should not be trancated at middle! This should not be trancated at middle! This should not be trancated at middle! This should not be trancated at middle! This should not be trancated at middle! This should not be trancated at middle!\e[?7h"

Also you may try fastfetch --disable-linewrap false and see if it makes a difference

kojq commented 8 months ago

image

With fastfetch --disable-linewrap false:

image

CarterLi commented 8 months ago

image

This can confirm a terminal bug. You may report it to the author of foot.

I can't reproduce it with foot 1.15.3, so it should be a regression of 1.16

kojq commented 8 months ago

Closing.

kojq commented 8 months ago

https://codeberg.org/dnkl/foot/issues/1541