Autodetect sixel support with escape codes
jedahan opened this issue · comments
Jonathan Dahan commented
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