Make sixel output flicker free (#1943)

* Make sixel output flicker free

* Address pr comments

* Lock regions based on sixel dimensions

This fixes issues related to clearing the previous sixel data

* name changes and extra error handeling

* Apply force clearing changes and change log messages

* Delete missleading comment

* check pixel dimensions

* correct cell dimensions checking

* Add force clearing on image update

---------

Co-authored-by: Mariusz Kuchta <mariusz@kuchta.dev>
This commit is contained in:
KuchteqandMariusz Kuchta authored and GitHub committed 2025-04-28 12:26:27 +10:00
1 parent 3d205f05e3
commit 7a89808688
6 files changed
+71 -64

No files matched your search

+3
View File
@@ -435,6 +435,9 @@ func (app *app) loop() {
if err == nil {
if r.path == curr.path {
app.ui.regPrev = r
if gOpts.sixel {
app.ui.sxScreen.forceClear = true
}
}
}