summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-02-12 18:48:09 +0100
committerDaniel Lange <DLange@git.local>2021-02-13 16:47:04 +0100
commit2c6222e30a25a833e8554709818e1c378ca46848 (patch)
tree676239606f4fbc2fd6c11bf2b675edd9bd1cbdc1 /ProcessList.h
parentc44b2ec795d243126fd5a53169ec533f4a5b3bd0 (diff)
Option and key ("*") to collapse / expand all branches under PID 1
(and PID 2 if kernel threads are shown) Based on hishamhm/htop#510 by Krishna Chaitanya, B Closes #68
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ProcessList.h b/ProcessList.h
index 3cd10a4e..a58f8028 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -106,6 +106,8 @@ ProcessField ProcessList_keyAt(const ProcessList* this, int at);
void ProcessList_expandTree(ProcessList* this);
+void ProcessList_collapseAllBranches(ProcessList* this);
+
void ProcessList_rebuildPanel(ProcessList* this);
Process* ProcessList_getProcess(ProcessList* this, pid_t pid, bool* preExisting, Process_New constructor);

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