mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
kitty: reference/produce frames properly with a=c #1900
This commit is contained in:
parent
1f29036fb5
commit
e8cdff6cf9
@ -352,7 +352,7 @@ int kitty_wipe_animation(sprixel* s, int ycell, int xcell){
|
||||
}
|
||||
logdebug("Wiping sprixel %u at %d/%d\n", s->id, ycell, xcell);
|
||||
FILE* fp = s->mstreamfp;
|
||||
fprintf(fp, "\e_Ga=f,x=%d,y=%d,s=%d,v=%d,i=%d,X=1,r=1,q=2;",
|
||||
fprintf(fp, "\e_Ga=f,x=%d,y=%d,s=%d,v=%d,i=%d,X=1,c=1,q=2;",
|
||||
xcell * s->cellpxx,
|
||||
ycell * s->cellpxy,
|
||||
s->cellpxx,
|
||||
@ -788,7 +788,7 @@ int kitty_rebuild_selfref(sprixel* s, int ycell, int xcell, uint8_t* auxvec){
|
||||
const int xlen = xstart + s->cellpxx > s->pixx ? s->pixx - xstart : s->cellpxx;
|
||||
const int ylen = ystart + s->cellpxy > s->pixy ? s->pixy - ystart : s->cellpxy;
|
||||
logdebug("rematerializing %u at %d/%d (%dx%d)\n", s->id, ycell, xcell, ylen, xlen);
|
||||
fprintf(fp, "\e_Ga=c,x=%d,y=%d,X=%d,Y=%d,w=%d,h=%d,i=%d,r=1,q=2;\x1b\\",
|
||||
fprintf(fp, "\e_Ga=c,x=%d,y=%d,X=%d,Y=%d,w=%d,h=%d,i=%d,c=2,r=1,q=2;\x1b\\",
|
||||
xcell * s->cellpxx, ycell * s->cellpxy,
|
||||
xcell * s->cellpxx, ycell * s->cellpxy,
|
||||
xlen, ylen, s->id);
|
||||
|
Loading…
Reference in New Issue
Block a user