Describe the bug
Uwufetch does not move the cursor to the end of the output in the tty.
To Reproduce
Run uwufetch 2.1-36-g280e8d0 on Fedora Linux 37. I assume the cause of the issue is that the Fedora image is shorter than info lines height.
Expected behavior
I expected the cursor to move to the end of the output.
If I change line 830 in uwufetch.c to int to_move = 9 - print_info(&config_flags, &user_info) + 3; (I basically added 3 to to_move variable), I get the expected behavior. But this is hacky and wouldnt work for everyone, I presume. Maybe the print_info() is the culprit?
Screenshots
Behavior of build 2.1-36-g280e8d0
Expected behavior after my "fix". (I just added three to to_move)
My shell is bash, I run Fedora 37 system.
Are you already working on this bug?
Maybe?? I can tell you what specific funtion, like print_info() outputs on my machine. Thank you.
Describe the bug Uwufetch does not move the cursor to the end of the output in the tty.
To Reproduce Run uwufetch 2.1-36-g280e8d0 on Fedora Linux 37. I assume the cause of the issue is that the Fedora image is shorter than info lines height.
Expected behavior I expected the cursor to move to the end of the output. If I change line 830 in uwufetch.c to
int to_move = 9 - print_info(&config_flags, &user_info) + 3;
(I basically added 3 to to_move variable), I get the expected behavior. But this is hacky and wouldnt work for everyone, I presume. Maybe the print_info() is the culprit?Screenshots Behavior of build 2.1-36-g280e8d0
Expected behavior after my "fix". (I just added three to
to_move
)My shell is bash, I run Fedora 37 system.
Are you already working on this bug? Maybe?? I can tell you what specific funtion, like
print_info()
outputs on my machine. Thank you.