blob: 3ba7147e3b4f78390d0d3384688b6c125cff732c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
From 5fca258f33e08cd7733940391edbf9e22208de83 Mon Sep 17 00:00:00 2001
From: guoci <zguoci@gmail.com>
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;
}
|