|
|
|
@ -388,10 +388,7 @@ Htop_Reaction Action_follow(State* st) { |
|
|
|
|
|
|
|
|
|
|
|
static Htop_Reaction actionSetup(State* st) { |
|
|
|
static Htop_Reaction actionSetup(State* st) { |
|
|
|
Action_runSetup(st); |
|
|
|
Action_runSetup(st); |
|
|
|
int headerHeight = Header_calculateHeight(st->header); |
|
|
|
return HTOP_REFRESH | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR | HTOP_RESIZE; |
|
|
|
Panel_move((Panel*)st->mainPanel, 0, headerHeight); |
|
|
|
|
|
|
|
Panel_resize((Panel*)st->mainPanel, COLS, LINES - headerHeight - 1); |
|
|
|
|
|
|
|
return HTOP_REFRESH | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static Htop_Reaction actionLsof(State* st) { |
|
|
|
static Htop_Reaction actionLsof(State* st) { |
|
|
|
|