summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2023-09-23 13:12:58 +0200
committerDaniel Lange <DLange@git.local>2023-09-23 13:12:58 +0200
commitd9fd58ab70ae978faa5c45383a5b7c8c3ae1f988 (patch)
treec825609fc1cd0acb941350ed2ffa466260febdb3 /Action.c
parente79788c250c23e0c7c9f3e29fdca578ce9e9bca0 (diff)
Add recalculate to Ctrl-L refresh
Closes #1304
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Action.c b/Action.c
index 2e2a3f26..874783a9 100644
--- a/Action.c
+++ b/Action.c
@@ -619,7 +619,8 @@ static Htop_Reaction actionTag(State* st) {
static Htop_Reaction actionRedraw(ATTR_UNUSED State* st) {
clear();
- return HTOP_REFRESH | HTOP_REDRAW_BAR;
+ // HTOP_RECALCULATE here to make Ctrl-L also refresh the data and not only redraw
+ return HTOP_RECALCULATE | HTOP_REFRESH | HTOP_REDRAW_BAR;
}
static Htop_Reaction actionTogglePauseUpdate(State* st) {

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