hack: kitty z index ghostty repro Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
2 files changed, 2 insertions(+), 1 deletions(-) M _examples/graphics/main.go M image.go
M _examples/graphics/main.go => _examples/graphics/main.go +1 -0
@@ 53,6 53,7 @@ func main() { w, h := vImg.CellSize() win = align.Center(win, w, h) vImg.Draw(win) win.Print(vaxis.Segment{Text: "text\n with image"}) vx.Render() } }
M image.go => image.go +1 -1
@@ 95,7 95,7 @@ func (k *KittyImage) Draw(win Window) { atomicStore(&k.uploaded, true) k.buf.Reset() } fmt.Fprintf(w, "\x1B_Ga=p,i=%d,p=%d,C=1\x1B\\", k.id, pid) fmt.Fprintf(w, "\x1B_Ga=p,i=%d,p=%d,z=-10,C=1\x1B\\", k.id, pid) } deleteFunc := func(w io.Writer) { fmt.Fprintf(w, "\x1B_Ga=d,d=i,i=%d,p=%d\x1B\\", k.id, pid)