[keller] run braille first now that pixel's in the mix

pull/1418/head
nick black 4 years ago committed by Nick Black
parent 47e2be7dc5
commit a4c8aee8bd

@ -6,11 +6,11 @@ visualize(struct notcurses* nc, struct ncvisual* ncv){
struct timespec kdelay;
timespec_div(&demodelay, 2, &kdelay);
ncblitter_e bs[] = {
NCBLIT_BRAILLE,
NCBLIT_1x1,
NCBLIT_2x1,
NCBLIT_2x2,
NCBLIT_3x2,
NCBLIT_BRAILLE,
NCBLIT_PIXEL,
};
struct ncplane* stdn = notcurses_stdplane(nc);

@ -80,7 +80,7 @@ write_kitty_data(FILE* fp, int linesize, int leny, int lenx, const uint32_t* dat
if(totalout == 0){
// FIXME need to send image id from notcurses struct
static int horror = 1;
fprintf(fp, "\e_Gf=32,s=%d,v=%d,i=%d,q=1,a=T%s;", lenx, leny, horror, chunks > 1 ? ",m=1" : "");
fprintf(fp, "\e_Gf=32,s=%d,v=%d,i=%d,a=T%s;", lenx, leny, horror, chunks > 1 ? ",m=1" : "");
++horror;
}else{
fprintf(fp, "\e_Gm=%d;", chunks ? 1 : 0);

@ -925,7 +925,7 @@ emit_bg_palindex(notcurses* nc, FILE* out, const nccell* srccell){
int sprite_kitty_annihilate(notcurses* nc, const ncpile* p, FILE* out, sprixel* s){
(void)p;
(void)nc;
if(fprintf(out, "\e_Ga=d,d=i,i=%d,q=1\e\\", s->id) < 0){
if(fprintf(out, "\e_Ga=d,d=i,i=%d\e\\", s->id) < 0){
return 0;
}
return 0;

Loading…
Cancel
Save