hunter icon indicating copy to clipboard operation
hunter copied to clipboard

Autodetect sixel support with escape codes

Open jedahan opened this issue 4 years ago • 0 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 https://github.com/hackerb9/lsix/commit/5bddfe0c59f30f2d042f33a517a45317a45233e4

jedahan avatar Dec 28 '20 22:12 jedahan