From 5fca258f33e08cd7733940391edbf9e22208de83 Mon Sep 17 00:00:00 2001 From: guoci Date: Sat, 17 Feb 2018 13:25:57 -0500 Subject: [PATCH] call clear() function when SIGWINCH is received. (#660) --- Action.c | 1 + 1 file changed, 1 insertion(+) 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; }