[kitty] write position id 1 when creating graphic #1395

This commit is contained in:
nick black 2021-06-20 00:35:15 -04:00 committed by Nick Black
parent 9befa0ceae
commit 2d2a469f14

View File

@ -444,7 +444,7 @@ write_kitty_data(FILE* fp, int linesize, int leny, int lenx, int cols,
//fprintf(stderr, "total: %d chunks = %d, s=%d,v=%d\n", total, chunks, lenx, leny);
while(chunks--){
if(totalout == 0){
*parse_start = fprintf(fp, "\e_Gf=32,s=%d,v=%d,i=%d,a=T,%c=1%s;",
*parse_start = fprintf(fp, "\e_Gf=32,s=%d,v=%d,i=%d,p=1,a=T,%c=1%s;",
lenx, leny, sprixelid, chunks ? 'm' : 'q',
scroll ? "" : ",C=1");
}else{