gokcehan / lf

Terminal file manager
MIT License
7.79k stars 331 forks source link

Rewrite sixel code to reduce flickering #1744

Closed joelim-work closed 4 months ago

joelim-work commented 5 months ago

After upgrading tcell, it looks like there's increased flickering because the original Sixel implementation relies on some hacky behavior in tcell which has since been fixed.

This PR is an attempt to reduce the flickering, it works on my setup but I'm keeping it as a draft for the time being since it is a risky change. Hopefully it works for others too, if not I will just close it.


Feedback is welcome, particular suggestions above improvements to the actual code.