From 67c3f64dc202e41b170d3373f964d487fb02e602 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 23 Oct 2021 00:56:31 -0400 Subject: [PATCH] [yield] always erase bitmap planes on the standard pile #2298 --- src/demo/yield.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/demo/yield.c b/src/demo/yield.c index 119f10ddb..c73ac6b2a 100644 --- a/src/demo/yield.c +++ b/src/demo/yield.c @@ -265,6 +265,8 @@ int yield_demo(struct notcurses* nc){ ret = pthread_join(t1, NULL) | pthread_join(t2, NULL); ncplane_destroy(label); + ncplane_reparent(m1.vopts.n, notcurses_stdplane(nc)); + ncplane_reparent(m2.vopts.n, notcurses_stdplane(nc)); ncplane_destroy(m1.vopts.n); ncplane_destroy(m2.vopts.n); ncvisual_destroy(v1);