summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorguoci <zguoci@gmail.com>2018-02-17 13:25:57 -0500
committerHisham Muhammad <hisham@gobolinux.org>2018-02-17 16:25:57 -0200
commit5fca258f33e08cd7733940391edbf9e22208de83 (patch)
tree4b3c81b437b82b762295898a1cc4b6bf2feb6d2f /Action.c
parent70ed51a303870952178b4acf11fd1954e2665127 (diff)
call clear() function when SIGWINCH is received. (#660)
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Action.c b/Action.c
index a6394ac3..50ab0bb9 100644
--- a/Action.c
+++ b/Action.c
@@ -185,6 +185,7 @@ static Htop_Reaction sortBy(State* st) {
// ----------------------------------------
static Htop_Reaction actionResize(State* st) {
+ clear();
Panel_resize(st->panel, COLS, LINES-(st->panel->y)-1);
return HTOP_REDRAW_BAR;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy