summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-12-22 15:25:08 +1100
committerNathan Scott <nathans@redhat.com>2020-12-22 15:25:08 +1100
commit737cd6167ace671e488af6af0f3ef011e899cdde (patch)
tree92ebe5d4fae3ffc575cc3a6cf0483f113f74550f /Action.c
parent068561351f6267eb505b1d3a956358111c28a289 (diff)
parent3f9c63d5c02fc822c3fbdda3c2328c85cdbc1740 (diff)
Merge branch 'resize_bar' of https://github.com/cgzones/htop into cgzones-resize_bar
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Action.c b/Action.c
index 92191810..5accac2e 100644
--- a/Action.c
+++ b/Action.c
@@ -341,7 +341,7 @@ static Htop_Reaction actionKill(State* st) {
if (sgn) {
if (sgn->key != 0) {
Panel_setHeader(st->panel, "Sending...");
- Panel_draw(st->panel, true, true);
+ Panel_draw(st->panel, false, true, true);
refresh();
MainPanel_foreachProcess((MainPanel*)st->panel, Process_sendSignal, (Arg) { .i = sgn->key }, NULL);
napms(500);
@@ -372,7 +372,7 @@ static Htop_Reaction actionFilterByUser(State* st) {
Htop_Reaction Action_follow(State* st) {
st->pl->following = MainPanel_selectedPid((MainPanel*)st->panel);
- Panel_setSelectionColor(st->panel, CRT_colors[PANEL_SELECTION_FOLLOW]);
+ Panel_setSelectionColor(st->panel, PANEL_SELECTION_FOLLOW);
return HTOP_KEEP_FOLLOWING;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy