summaryrefslogtreecommitdiffstats
path: root/htop.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-04-09 18:02:50 -0300
committerHisham Muhammad <hisham@gobolinux.org>2014-04-09 18:02:50 -0300
commit19b438de1009047ee425d1f36207c20b9c80d43a (patch)
tree003a45252e211016edb8ec71518efb321fd5aced /htop.h
parentaf4c412ebf4ba96973fb6ea3e9ee8f59fe751769 (diff)
Improve discoverability of the expand/collapse feature.
It is now accessible via F6 when on tree view (as a bonus, it is now also reachable via the mouse). The function bar now dynamically changes to reflect the toggle nature of the tree-view mode (F5) and the F6 key serves as expand/collapse when on tree mode, and its previous behavior of bringing up the "Sort By" menu (which only made sense on non-tree mode). Users wishing to go to the "Sort By" menu straight from Tree View can still do so with the "<" and ">" keys (the top-compatible keys for sort selection).
Diffstat (limited to 'htop.h')
-rw-r--r--htop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/htop.h b/htop.h
index 7338010e..354a2f99 100644
--- a/htop.h
+++ b/htop.h
@@ -15,6 +15,8 @@ in the source distribution for its full text.
typedef bool(*ForeachProcessFn)(Process*, size_t);
+void sortBy(Panel* panel, ProcessList* pl, Settings* settings, int headerHeight, FunctionBar* defaultBar, Header* header);
+
int main(int argc, char** argv);
#endif

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