From 19b438de1009047ee425d1f36207c20b9c80d43a Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 9 Apr 2014 18:02:50 -0300 Subject: 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). --- htop.1.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'htop.1.in') diff --git a/htop.1.in b/htop.1.in index 5b2d754e..a0e2a261 100644 --- a/htop.1.in +++ b/htop.1.in @@ -91,9 +91,11 @@ between them as a tree. Toggling the key will switch between tree and your previously selected sort view. Selecting a sort view will exit tree view. .TP -.B F6, <, > -Select a field for sorting. The current sort field is indicated by a -highlight in the header. +.B F6 +On sorted view, select a field for sorting, also accessible through < and >. +The current sort field is indicated by a highlight in the header. +On tree view, expand or collapse the current subtree. A "+" indicator in the +tree node indicates that it is collapsed. .TP .B F7, ] Increase the selected process's priority (subtract from 'nice' value). -- cgit v1.2.3