Code

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 f48309a47f84e71185217cbe3dd0f4023efcdca5..35e24201a8773aee93865f390b0a094900daac3d 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;
                }