diff options
author | Daniel Lange <DLange@git.local> | 2023-09-23 13:12:58 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2023-09-23 13:12:58 +0200 |
commit | d9fd58ab70ae978faa5c45383a5b7c8c3ae1f988 (patch) | |
tree | c825609fc1cd0acb941350ed2ffa466260febdb3 | |
parent | e79788c250c23e0c7c9f3e29fdca578ce9e9bca0 (diff) |
Add recalculate to Ctrl-L refresh
Closes #1304
-rw-r--r-- | Action.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |