projects
/
liboping.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c19ece
)
Remove attempt to scroll old data in main window
author
Hamish Coleman
<hamish@zot.org>
Fri, 17 Feb 2017 05:18:58 +0000
(13:18 +0800)
committer
Hamish Coleman
<hamish@zot.org>
Fri, 17 Feb 2017 05:18:58 +0000
(13:18 +0800)
src/oping.c
patch
|
blob
|
history
diff --git
a/src/oping.c
b/src/oping.c
index
d0e9f33
..
d88edbd
100644
(file)
--- a/
src/oping.c
+++ b/
src/oping.c
@@
-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++;