mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
[kitty] properly emit m=1 on 2-chunk graphics #1426
This commit is contained in:
parent
2393548e38
commit
3ea1a79250
@ -79,7 +79,7 @@ write_kitty_data(FILE* fp, int linesize, int leny, int lenx,
|
||||
//fprintf(stderr, "total: %d chunks = %d, s=%d,v=%d\n", total, chunks, lenx, leny);
|
||||
while(chunks--){
|
||||
if(totalout == 0){
|
||||
fprintf(fp, "\e_Gf=32,s=%d,v=%d,i=%d,a=T,%c=1;", lenx, leny, sprixelid, chunks > 1 ? 'm' : 'q');
|
||||
fprintf(fp, "\e_Gf=32,s=%d,v=%d,i=%d,a=T,%c=1;", lenx, leny, sprixelid, chunks ? 'm' : 'q');
|
||||
}else{
|
||||
fprintf(fp, "\e_G%sm=%d;", chunks ? "" : "q=1,", chunks ? 1 : 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user