Dear Coders,
does anyone succeeded with good sixel implementation in st?
There are few forks, and they all seem to use the same pull request.
I managed to apply
https://dropboxlab.com/Tanish2002/st-tanish2002/-/blob/master/pull requestes/0001-add-st-sixel.pull request
on vanilla st, and I can display images, but it fails on more
trivial tasks (as sixel preview in vifm). My bare 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.`
Received on Mon May 24 2021 - 14:48:21 CEST