From eb18372a3ff1cd42c57e256b5f0cc948d7abb7f0 Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Fri, 17 Feb 2017 15:42:37 +0800 Subject: [PATCH] Clean up screen in the case where we are adding a new row --- src/oping.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/oping.c b/src/oping.c index f48309a..35e2420 100644 --- a/src/oping.c +++ b/src/oping.c @@ -1324,6 +1324,8 @@ static int on_resize (pingobj_t *ping) /* {{{ */ if (context->window != NULL) { + werase (context->window); + wrefresh (context->window); delwin (context->window); context->window = NULL; } -- 2.30.2