Replies: 2 comments
|
Just for testing, I've wrapped the queued string with the synchronized update sequences: diff --git a/src/tui/light.go b/src/tui/light.go
index 77f15b9a..b556d243 100644
--- a/src/tui/light.go
+++ b/src/tui/light.go
@@ -91,7 +91,8 @@ func (r *LightRenderer) csi(code string) string {
func (r *LightRenderer) flush() {
if r.queued.Len() > 0 {
- raw := "\x1b[?7l\x1b[?25l" + r.queued.String()
+ raw := "\x1b[?7l\x1b[?25l"
+ raw += "\x1b[?2026h" + r.queued.String() + "\x1b[?2026l"
if r.showCursor {
raw += "\x1b[?25h\x1b[?7h"
} else {This seems to avoid the flickering for me with the foot terminal which support these sequences. |
0 replies
|
Was implemented on 374b012. Released with |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
for previewing images via sixels on foot I wanted to avoid flickering on image changes.
I stumble across the possiblity to use "application syncronized updates" to avoid this.
Would it be possible to allow using this in preview windows, e.g. via
printf '\033[?2026h'andprintf '\033[?2026l'around the image printing? Orprintf '\033[H'to move the cursor to the top and overdraw instead of clear?I saw there was already a PR (#3713) regarding the synchronized updates, so I'm not sure if this would be easy to adapt. Just wanted to ask in general.
Just for background: https://github.com/contour-terminal/vt-extensions/blob/master/synchronized-output.md
All reactions