mirror of https://github.com/xzeldon/htop.git
call clear() function when SIGWINCH is received. (#660)
This commit is contained in:
parent
70ed51a303
commit
5fca258f33
1
Action.c
1
Action.c
|
@ -185,6 +185,7 @@ static Htop_Reaction sortBy(State* st) {
|
||||||
// ----------------------------------------
|
// ----------------------------------------
|
||||||
|
|
||||||
static Htop_Reaction actionResize(State* st) {
|
static Htop_Reaction actionResize(State* st) {
|
||||||
|
clear();
|
||||||
Panel_resize(st->panel, COLS, LINES-(st->panel->y)-1);
|
Panel_resize(st->panel, COLS, LINES-(st->panel->y)-1);
|
||||||
return HTOP_REDRAW_BAR;
|
return HTOP_REDRAW_BAR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue