From 2c6222e30a25a833e8554709818e1c378ca46848 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Fri, 12 Feb 2021 18:48:09 +0100 Subject: 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 --- ProcessList.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ProcessList.h') 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); -- cgit v1.2.3