lsix icon indicating copy to clipboard operation
lsix copied to clipboard

Regression from #55: Alacritty-sixel error "mention attribute codes: ^[[?6c"

Open gwimm opened this issue 2 years ago • 7 comments

Regression from #55

The attribute code seems to have changed for alacritty-sixel from #55's ^[[?4;6c to simply ^[[?6c or I might be doing something funny..

Demo

image

gwimm avatar Jan 23 '23 18:01 gwimm

I also just tried this out with the alacritty branch, same result:

Please mention device attribute codes: ^[[?6c

FergusFettes avatar May 12 '23 12:05 FergusFettes

Well, shoot. I had hoped Alacritty would have fixed this by now. Has a bug been filed with them yet?

hackerb9 avatar May 12 '23 15:05 hackerb9

Same error sadly.. should this be fixed on the alacritty side or here? is there a way to force/trick sixl to show images on "non supported" terminal with variable or any other way ?

z3ch5 avatar May 14 '23 13:05 z3ch5

Terminals tell programs what features they support. In particular, the attribute code 4 lets programs know that the terminal can display sixels. Alacritty at one point was correctly doing that.

There are workarounds for old, buggy terminals, but Alacritty is a modern terminal that is still developed.

hackerb9 avatar May 15 '23 06:05 hackerb9

yes, but I would like to point here in case the others don't know, we are here about a fork of Alacritty that supports sixel, as so far I know, there is no official way (image protocol) in Alacritty to show images, so maybe the fork of Alacritty should do the feature report

z3ch5 avatar May 15 '23 06:05 z3ch5

Thank you for the clarification. Yes, of course the fork should be responsible for the bug.

hackerb9 avatar May 15 '23 06:05 hackerb9

Yes, I should have mentioned also. For completions sake, here is the PR: https://github.com/alacritty/alacritty/pull/4763

FergusFettes avatar May 17 '23 14:05 FergusFettes

Hey, I believe this can be closed as it was resolved in the maintained alacritty sixel fork @ https://github.com/ayosec/alacritty/tree/graphics (see https://github.com/alacritty/alacritty/pull/4763#issuecomment-1967601846 for details)

Thanks for lsix btw- it's a great tool!

prurigro avatar Mar 10 '24 05:03 prurigro