Clean up screen in the case where we are adding a new row
authorHamish Coleman <hamish@zot.org>
Fri, 17 Feb 2017 07:42:37 +0000 (15:42 +0800)
committerHamish Coleman <hamish@zot.org>
Tue, 9 May 2017 01:10:18 +0000 (09:10 +0800)
src/oping.c

index f48309a..35e2420 100644 (file)
@@ -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;
                }