-
Notifications
You must be signed in to change notification settings - Fork 74
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
Sixel support in foot does not get recongnized correctly #130
Comments
I am currently not running Wayland, so can't test. When you run the following, does the terminal print out something ?
(typically some version number and terminal name surrounded by some escape codes). For now, you can set the |
thanks so much :) |
Alright, added detection. Do Videos and |
Alright, can you |
so... grid works but only with some numbers of columns. like 1 to 4 work, 5 exhibits the previous issues, and then 9 again. out.mp4 |
I suspect the pixels where character cells are shown are not placed on integer pixel positions. Timg needs to know the characcter cell height, so that it knows how many of them to 'jump up' to show the next picture. If it reports say 10 pixels height of a character cell and the picture is 120 pixels high, then timg uses 120 / 10 = 12 characters to place the cursor to the place where the next image is to be shown. If whatever the terminal reports is different from what it internally uses to place cursors. The terminal reports the size of the canvas and each character cell (which you see if you show a picture and add the |
the foot terminal supports sixel, timg does not correctly recognize this. timg does render correctly if sixel is forced by the
-ps
option.The text was updated successfully, but these errors were encountered: