Skip to content

No sixel output from Canvas.print() on xterm #6

Answered by GuardKenzie
jerch asked this question in Q&A
Discussion options

You must be logged in to vote

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).

edit

Check out this section in the tutorial and the docs for Canvas.print()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jerch
Comment options

Answer selected by jerch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants