Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

[FIX] Fixed line rollover for small terminals #210

Merged
merged 1 commit into from
Jan 1, 2023

Conversation

buzzqrd
Copy link
Contributor

@buzzqrd buzzqrd commented Jan 1, 2023

When using a small terminal, text would flow over into the image and added an extra line between some of the info. The cause of this (i think) is that the control characters being printed counted as characters that take up space during the formatting ("%.*s"). There are 4 of these per line, so I changed it to 4 characters cut off. However, because the PKGS line had an extra 5th unnecessary duplicate "NORMAL" control character, I removed it so that the name of the package manager would not be cut off.

I've attached a before and after screenshot:
WM: dwm-6.3
Term: Alacritty

uwufetch_grab2

@ad-oliviero ad-oliviero merged commit 8508f38 into ad-oliviero:main Jan 1, 2023
dqnk added a commit to dqnk/uwufetch that referenced this pull request May 11, 2023
[FIX] Fixed line rollover for small terminals
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants