Is it possible to do something like this, but writing the actual GIF to the host's framebuffer (/dev/fb*)? Or are we getting into X11 territory?
Unfortunately, it seems to not be a standard - it would be neat if there were such a standard, and if other terminals could/would do similarly. It seems like the silliest thing but I like being able to easily indicate when my tests fail or not:
alias SUCCESS="echo -e '\n\nSUCCESS' \
&& imgcat ~/Pictures/success-100.png \
|| imgcat ~/Pictures/fail-100.png"
make test && SUCCESS
0: https://www.iterm2.com/documentation-images.htmlThere is also the sixel escape sequences will render using 6 pixel character blocks and is supported in xterm with the vt250 (iirc) support enabled.
For what it's worth, xterm also supports vector graphics if you enable the right kind of VT mode. But that's a whole other discussion :)
$ mpv --vo=drm *.gif