X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Foping.c;h=79afb5f55a47f8a32f3d0c0f50e9d9eee59f3121;hb=aac3188c7af2db1a9483e03ceb31c94f174d5f9f;hp=cce437904d856ff01571b1ffede9c41362a33f84;hpb=90d8073be335e68bbe4e03b67c0286df475f0b49;p=liboping.git diff --git a/src/oping.c b/src/oping.c index cce4379..79afb5f 100644 --- a/src/oping.c +++ b/src/oping.c @@ -1268,6 +1268,13 @@ static int check_resize (pingobj_t *ping) /* {{{ */ break; else if (key == KEY_RESIZE) need_resize = 1; + else if (key == 'g') + { + if (opt_show_graph == 3) + opt_show_graph = 1; + else if (opt_show_graph > 0) + opt_show_graph++; + } } if (need_resize)