rabite0 / hunter

The fastest file manager in the galaxy!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autodetect sixel support with escape codes

jedahan opened this issue · comments

Instead of maintaining a list of TERM, something like

read -s -t 1 -d "c" -p $'\e[c' >&2
if [[ $REPLY =~ ";4;" ]]; then
  RenderTarget::Sixel
fi

from hackerb9/lsix@5bddfe0