[kitty] KITTY_ANIMATED rebuild fix #2161

This commit is contained in:
nick black 2021-09-12 21:25:10 -04:00
parent a48147da8c
commit 4e1897c1c0
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -950,7 +950,7 @@ int kitty_rebuild_animation(sprixel* s, int ycell, int xcell, uint8_t* auxvec){
logdebug("placing %d/%d at %d/%d\n", ylen, xlen, ycell * s->cellpxy, xcell * s->cellpxx); logdebug("placing %d/%d at %d/%d\n", ylen, xlen, ycell * s->cellpxy, xcell * s->cellpxx);
while(chunks--){ while(chunks--){
if(totalout == 0){ if(totalout == 0){
if(fbuf_printf(f, "\e_Ga=f,x=%d,y=%d,s=%d,v=%d,i=%d,X=1,r=1,%s;", if(fbuf_printf(f, "\e_Ga=f,x=%d,y=%d,s=%d,v=%d,i=%d,r=2,c=1,X=1,%s;",
xcell * s->cellpxx, ycell * s->cellpxy, xlen, ylen, xcell * s->cellpxx, ycell * s->cellpxy, xlen, ylen,
s->id, chunks ? "m=1" : "q=2") < 0){ s->id, chunks ? "m=1" : "q=2") < 0){
return -1; return -1;