Hi,
I am the author of
https://timg.sh/ which allows to show images and animations in a terminal. If available, it can make use of the iterm2 high-resolution images.
However, in hterm, it can't display animations right now. The reason is, that timg needs to know how many character cells to jump back up to replace frames. So if it knows the size of a character cell (which depends on the font), it has all it needs to know.
For this to work, timg queries the terminal with the CSI 16t query.
Description in the xterm documentation:
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#:~:text=Ps%20%3D%201%206%20%20%E2%87%92%C2%A0%20Report%20xterm%20character%20cell%20size%20in%20pixels.%0A%20%20%20%20%20%20%20%20%20%20Result%20is%20CSI%20%206%20%3B%20%20height%20%3B%20%20width%20tTo test in terminal:
echo -e "\033[16t"
this should reply "\033[6;" followed by semicolon separated size of the character cell, e.g. 15;9.
If this was implemented in hterm, we could see animations and not only the first frame ...
Thanks,
Henner