summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2024-09-22 18:30:40 +0200
committerBenny Baumann <BenBE@geshi.org>2024-09-22 18:30:40 +0200
commit9c316cc14cafce1097583247710b6d74c1feb505 (patch)
treee041203c72e59ee3a0df9a0f67a736f90804e4e0
parent49bb3c49acf9fb53a30c818efc03d835e5341a0a (diff)
Keep following a process when resuming process updates
Fixes: #1539
-rw-r--r--Action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Action.c b/Action.c
index 144ef210..56fb3d0c 100644
--- a/Action.c
+++ b/Action.c
@@ -634,7 +634,7 @@ static Htop_Reaction actionRedraw(ATTR_UNUSED State* st) {
static Htop_Reaction actionTogglePauseUpdate(State* st) {
st->pauseUpdate = !st->pauseUpdate;
- return HTOP_REFRESH | HTOP_REDRAW_BAR;
+ return HTOP_REFRESH | HTOP_REDRAW_BAR | HTOP_KEEP_FOLLOWING;
}
static const struct {