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

pull/1809/head
nick black 3 years ago committed by Nick Black
parent 9befa0ceae
commit 2d2a469f14

@ -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{

Loading…
Cancel
Save