[demo] print that we're checking for pixel support #1506

This commit is contained in:
nick black 2021-04-08 00:55:25 -04:00
parent 3b169dfa31
commit b1baa5e88a
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 7 additions and 2 deletions

View File

@ -538,10 +538,15 @@ int main(int argc, char** argv){
}
const bool canimage = notcurses_canopen_images(nc);
const bool canvideo = notcurses_canopen_videos(nc);
printf(" Enabling mouse...");
fflush(stdout);
if(notcurses_mouse_enable(nc)){
goto err;
}
printf("done.\n Checking for bitmap support...");
fflush(stdout);
notcurses_check_pixel_support(nc);
printf("done.\n");
if(input_dispatcher(nc)){
goto err;
}

View File

@ -367,9 +367,9 @@ query_sixel(tinfo* ti, int fd){
break;
case WANT_C_ALACRITTY_HACK:
if(in == 'c'){
/* FIXME alacritty has not yet merged their sixel support
setup_sixel(ti);
state = DONE; */
state = DONE;
// alacritty doesn't want further querying
return 0;
}
break;