-
Notifications
You must be signed in to change notification settings - Fork 114
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
color alignment breaks when using own ascii art file #330
Comments
I investigated the cause of these issues:
The Rust rewrite (#317) that is almost completed, and it does not have the first issue. However it still has the second issue, so I will send a PR to the fork to fix it there. Even though I recently found the first issue, the second one could have gone unnoticed for quite a while without your report. Thanks for taking the time here! 😊 This issue can be mitigated by copying the ascii art to a file (unescape backslashes), using the |
@HimeLexie Can you help us test if #317 works correctly for you now? |
@teohhanhui Do i just clone the riir branch? |
@HimeLexie Yes, quick way (for development): Or to install it locally (example on Linux):
|
And for the custom ascii file as well? 😄 You can do e.g. |
Describe the bug
When using the flag --ascii-file (file) without leaving a leading new line above the ASCII art in the file, colors will misalign (see picture below)
Expected behavior
first, i expect that the hyfetch ASCII art should display as neofetch does without an extra space above it and work (see picture).
second, i expect that colors should realign correctly for custom ASCII files (see images below, highlighted to show colors).
Screenshots
Color misalignment without new line:
Hyfetch prints extra line above ASCII art compared to neofetch:
showing color misalignment with highlighting to make colors easier to see:
Config file
Please paste the content of
~/.config/hyfetch.json
below:Additional context
I have seen the extra new line in other screenshots of hyfetch on other issues.
The text was updated successfully, but these errors were encountered: