Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The letter B is being randomly inserted into outputted text #50

Open
OpenSauce04 opened this issue Apr 15, 2023 · 3 comments
Open

The letter B is being randomly inserted into outputted text #50

OpenSauce04 opened this issue Apr 15, 2023 · 3 comments

Comments

@OpenSauce04
Copy link

Image showing the issue:
image

@jaseg
Copy link
Owner

jaseg commented Apr 15, 2023

Hi there, could you pipe the output of "ufetch" into a file and post that file here?

@OpenSauce04
Copy link
Author

Sure thing
ufetch.txt

@SnapperTT
Copy link

SnapperTT commented Dec 5, 2023

Your file has a bunch of \x1b(B control sequences. My htop and cmatrix spits out a bunch of these too.

https://stackoverflow.com/questions/36279015/what-does-x1bb-do

I have a speculative fix. On line 137 change:

        if (c == '[') {

to

        if (c == '[' || c == '(') {

SnapperTT added a commit to SnapperTT/lolcat that referenced this issue Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants