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

Artsy Chafa Output (Not Intended) #161

Open
jcdw99 opened this issue Aug 22, 2023 · 4 comments
Open

Artsy Chafa Output (Not Intended) #161

jcdw99 opened this issue Aug 22, 2023 · 4 comments
Labels
bug Not working as advertised needinfo Needs more information from reporter

Comments

@jcdw99
Copy link

jcdw99 commented Aug 22, 2023

Chafa currently outputs the following for me:

Screenshot 2023-08-22 at 11 50 34 AM

Although the output is interesting, it is absolutely not as intended. Is this a known issue, or is this a result of me using the library incorrectly?

Input are .png images.

@hpjansson
Copy link
Owner

Hi, thanks for filing this.

I can't comment on the artistic merit of this particular work of art, but there could be several things going on. It's hard to say without a little more information, though:

  • Which terminal are you using?
  • What's the output from chafa --version?
  • Could you attach a sample png image I can test with?

@hpjansson
Copy link
Owner

Missed that you're using the library. Do you have a code snippet?

@hpjansson hpjansson added bug Not working as advertised needinfo Needs more information from reporter labels Aug 23, 2023
@hpjansson
Copy link
Owner

@jcdw99 I guess you're busy, but if you still want this fixed, these two pieces of information may be enough:

  • Output from echo $TERM
  • The name of your terminal, and if you're running inside screen or tmux.

It looks like Chafa is emitting more colors than the terminal understands (it's only rendering 16). So a workaround may be to use chafa -c 16.

@hpjansson
Copy link
Owner

The extra info is still needed in order to fix this issue. In the meantime, I just released version 1.14.0; maybe that one works better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as advertised needinfo Needs more information from reporter
Projects
None yet
Development

No branches or pull requests

2 participants