notcurses-info: distinguish animation from regular kitty #1895

dankamongmen/linuxfbdumb
nick black 3 years ago committed by Nick Black
parent 66b8c7f004
commit 4d2a896cdd

@ -239,8 +239,10 @@ tinfo_debug_bitmaps(struct ncplane* n, const tinfo* ti, const char* indent){
}else{
ncplane_printf(n, "%ssixel colorregs: %u\n", indent, ti->color_registers);
}
}else{
}else if(ti->sixel_maxy_pristine){
ncplane_printf(n, "%srgba pixel graphics supported\n", indent);
}else{
ncplane_printf(n, "%srgba pixel animation supported\n", indent);
}
char* path = prefix_data("notcurses.png");
if(path){

@ -115,7 +115,7 @@ int main(int argc, char **argv){
char** a = argv + 1;
struct notcurses_options opts = {
.flags = NCOPTION_NO_ALTERNATE_SCREEN,
.loglevel = NCLOGLEVEL_TRACE,
//.loglevel = NCLOGLEVEL_TRACE,
};
struct notcurses* nc = notcurses_init(&opts, NULL);
if(notcurses_check_pixel_support(nc) <= 0){

Loading…
Cancel
Save