diff --git a/src/demo/sliding.c b/src/demo/sliding.c index 11e0d7366..3190c4def 100644 --- a/src/demo/sliding.c +++ b/src/demo/sliding.c @@ -189,9 +189,9 @@ int sliding_puzzle_demo(struct notcurses* nc){ goto done; } DEMO_RENDER(nc); - struct timespec ts = { .tv_sec = 0, .tv_nsec = NANOSECS_IN_SEC, }; + /*struct timespec ts = { .tv_sec = 0, .tv_nsec = NANOSECS_IN_SEC, }; // fade out each of the chunks in succession - /*for(cy = 0 ; cy < CHUNKS_VERT ; ++cy){ + for(cy = 0 ; cy < CHUNKS_VERT ; ++cy){ for(cx = 0 ; cx < CHUNKS_HORZ ; ++cx){ const int idx = cy * CHUNKS_HORZ + cx; if(ncplane_fadeout(chunks[idx], &ts)){ @@ -201,7 +201,7 @@ int sliding_puzzle_demo(struct notcurses* nc){ }*/ // shuffle up the chunks int i; - demo_nanosleep(nc, &ts); + demo_nanosleep(nc, &demodelay); for(i = 0 ; i < 200 ; ++i){ int i0 = random() % chunkcount; int i1 = random() % chunkcount; diff --git a/src/lib/terminfo.c b/src/lib/terminfo.c index 3f21452ae..0286272af 100644 --- a/src/lib/terminfo.c +++ b/src/lib/terminfo.c @@ -59,6 +59,10 @@ apply_term_heuristics(tinfo* ti, const char* termname){ }else if(strstr(termname, "vte") || strstr(termname, "gnome")){ ti->sextants = true; // VTE has long enjoyed good sextant support } +// as of freebsd 12.1 / dragonfly 5.9, there's no libc support for sextants +#if defined(__FreeBSD__) || defined(__DragonFly__) + ti->sextants = false; +#endif return 0; }