Code

Remove attempt to scroll old data in main window
authorHamish Coleman <hamish@zot.org>
Fri, 17 Feb 2017 05:18:58 +0000 (13:18 +0800)
committerHamish Coleman <hamish@zot.org>
Fri, 17 Feb 2017 05:18:58 +0000 (13:18 +0800)
src/oping.c

index d0e9f3344134dd0b01d0ea0ecef1cdb5e5e02ed8..d88edbd9b59cf381088d7bc9f7e990da9a7b2c25 100644 (file)
@@ -1369,11 +1369,8 @@ static int check_resize (pingobj_t *ping) /* {{{ */
                        }
                        else
                        {
-                                int box_height = (opt_show_graph == 0) ? 4 : 5;
-
-                                /* make sure old data is still visible */
-                                for (int i = 0; i<box_height; i++)
-                                    wprintw (main_win, "\n");
+                                /* FIXME - scroll main_win correctly so that
+                                    old data is still visible */
 
                                 need_resize = 1;
                                host_num++;