summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-03-03 19:56:39 +0100
committerChristian Göttsche <cgzones@googlemail.com>2021-03-03 20:06:14 +0100
commit59a150e8d7f1e50d101d191448432a4424101c57 (patch)
treef0679c7ef0b658769b66ed80ca560e2401bc0855 /Action.c
parent2328e52403dfa52d122a9f7ccbd365beaedb8c9f (diff)
Follow followed process when switching thread visibilities
Do not stop following a process when switching the visibility of userland or kernel threads. Related: #557
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 7481d839..2d30a7ec 100644
--- a/Action.c
+++ b/Action.c
@@ -206,12 +206,12 @@ static Htop_Reaction actionSortByTime(State* st) {
static Htop_Reaction actionToggleKernelThreads(State* st) {
st->settings->hideKernelThreads = !st->settings->hideKernelThreads;
- return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS;
+ return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING;
}
static Htop_Reaction actionToggleUserlandThreads(State* st) {
st->settings->hideUserlandThreads = !st->settings->hideUserlandThreads;
- return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS;
+ return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING;
}
static Htop_Reaction actionToggleProgramPath(State* st) {

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