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 d0e9f33..d88edbd 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++;