From 6c131f486072d7b45e8864594ac5dad86098d463 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 19 Apr 2020 23:36:15 -0400 Subject: [PATCH] fallin': erase standard plane post-copy for non-FFmpeg builds #505 --- src/demo/demo.c | 2 +- src/demo/fallin.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/demo/demo.c b/src/demo/demo.c index 03cf57ef4..cd784c20c 100644 --- a/src/demo/demo.c +++ b/src/demo/demo.c @@ -454,7 +454,7 @@ summary_table(struct ncdirect* nc, const char* spec){ ncdirect_fg_rgb8(nc, 0xff, 0xb0, 0xb0); fflush(stdout); // in case we print to stderr below, we want color from above if(failed){ - fprintf(stderr, "\nError running demo. Is \"%s\" the correct data path?\n", datadir); + fprintf(stderr, "\nError running demo.\nIs \"%s\" the correct data path? Supply it with -p\n", datadir); } #ifdef DFSG_BUILD ncdirect_fg_rgb8(nc, 0xfe, 0x20, 0x76); // PANTONE Strong Red C + 3x0x20 diff --git a/src/demo/fallin.c b/src/demo/fallin.c index 4130abc6f..44c40c07f 100644 --- a/src/demo/fallin.c +++ b/src/demo/fallin.c @@ -174,6 +174,7 @@ int fallin_demo(struct notcurses* nc){ } } free(usemap); + ncplane_erase(stdn); #ifdef USE_FFMPEG #ifndef DFSG_BUILD int averr = 0;