mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 21:14:35 +03:00
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).
This commit is contained 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).
|
||||
|
Reference in New Issue
Block a user