Dear Coders, does anyone succeeded with good sixel implementation in st? There are few forks, and they all seem to use the same patch. I managed to apply https://gitlab.com/Tanish2002/st-tanish2002/-/blob/master/patches/0001-add-st-sixel.patch on vanilla st, and I can display images, but it fails on less trivial tasks (as sixel preview in vifm). My minimal nonexample is the following:
in .vifm/vifmrc I replace fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm \ identify %f fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm \ sixel-preview.sh %c %pw %pd where sixel-preview.sh is #!/bin/sh exec img2sixel --width=$(($2*7)) --height=auto "$1" and it makes some mess. Alas, if i run xterm -ti vt340 in place of st, everything works as expected. Sincerely, s.`