Naheel-Azawy / stpv

Simple Terminal PreViewer
GNU General Public License v3.0
96 stars 12 forks source link

Chafa attempts sixel in unsupported cases #34

Open m2Giles opened 1 year ago

m2Giles commented 1 year ago

Chafa appears to attempt to use some sort of auto detection for determining to use sixels. I'm unsure if this is now default behavior or not. But when setting PV_TYPE=text in a sixel compatible terminal it appears to attempt to use sixel. However, this then fails in things like fzf.

For PV_TYPE=text in stpvimg, explicitly set the chafa format to symbols to avoid this behavior.