No sixel output from Canvas.print() on xterm #6
-
Is there a way to force sixel output to output the sixel string? Have a couple of terminals tested, that have working sixel support (eg. xterm), but chafa.py is only giving me an empty string as output. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes! xterm is one of the terminals not detected properly so instead of executing canvas.print() you can execute canvas.print(fallback=True) to supplement the auto-detected terminal sequences with fallback control sequences (in your case, sixel control sequences). You just have to be careful when doing this since you will just get a long string of random letters and symbols if you try this on a terminal that doesn't support sixels (e.g. kitty). editCheck out this section in the tutorial and the docs for |
Beta Was this translation helpful? Give feedback.
Yes! xterm is one of the terminals not detected properly so instead of executing
you can execute
to supplement the auto-detected terminal sequences with fallback control sequences (in your case, sixel control sequences).
You just have to be careful when doing this since you will just get a long string of random letters and symbols if you try this on a terminal that doesn't support sixels (e.g. kitty).
edit
Check out this section in the tutorial and the docs for
Canvas.print()