From b1baa5e88a157f77e15d7d50ede7deb0400443df Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 8 Apr 2021 00:55:25 -0400 Subject: [PATCH] [demo] print that we're checking for pixel support #1506 --- src/demo/demo.c | 5 +++++ src/lib/terminfo.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/demo/demo.c b/src/demo/demo.c index dcdc63c87..b5122bc9f 100644 --- a/src/demo/demo.c +++ b/src/demo/demo.c @@ -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; } diff --git a/src/lib/terminfo.c b/src/lib/terminfo.c index 5023d2b1b..288bd1e13 100644 --- a/src/lib/terminfo.c +++ b/src/lib/terminfo.c @@ -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;