Commit 5fca258f authored by guoci's avatar guoci Committed by Hisham Muhammad
Browse files

call clear() function when SIGWINCH is received. (#660)

parent 70ed51a3
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment