shithub: sl

Download patch

ref: 85672c88b534e613ab761628767c8d1c8be4ccdf
parent: cf051b00f4d308c4f6192ca06aa4f59190a84f9f
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sat Nov 2 22:59:47 EDT 2024

sixel-output: reset scaling buffer

--- a/sixel.c
+++ b/sixel.c
@@ -67,6 +67,8 @@
 	sixel_dither_set_transparent(f->dither, 0xff);
 	f->numcolors = numcolors;
 	f->scalex = f->scaley = 1;
+	f->buf = nil;
+	f->bufsz = 0;
 	return v;
 }