summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-01-10 19:04:49 +0100
committerChristian Göttsche <cgzones@googlemail.com>2023-01-10 19:04:49 +0100
commita05e1891594cbcdf813017aa3a56d6de044654de (patch)
treeba3b5485e2fa427be59b8846b2a9730e1fe74b32
parent490cedba04aef27c2a3c0bc3a9d6190b05082717 (diff)
Update the Panel header on sort order inversions
On pressing 'I' to invert the current sort order redraw the panel header to update the order indicator.
-rw-r--r--Action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Action.c b/Action.c
index 59322e25..81432f5d 100644
--- a/Action.c
+++ b/Action.c
@@ -305,7 +305,7 @@ static Htop_Reaction actionLowerPriority(State* st) {
static Htop_Reaction actionInvertSortOrder(State* st) {
ScreenSettings_invertSortOrder(st->settings->ss);
st->pl->needsSort = true;
- return HTOP_REFRESH | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING;
+ return HTOP_REFRESH | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING | HTOP_UPDATE_PANELHDR;
}
static Htop_Reaction actionExpandOrCollapse(State* st) {

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