Skip to content

Commit

Permalink
Document screen tab switching (TAB, Shift-TAB keys)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lange authored and BenBE committed Apr 30, 2022
1 parent 7e66ee1 commit 8b98d3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Action.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ static const struct {
bool roInactive;
const char* info;
} helpLeft[] = {
{ .key = " Tab: ", .roInactive = false, .info = "switch to next screen tab" },
{ .key = " Arrows: ", .roInactive = false, .info = "scroll process list" },
{ .key = " Digits: ", .roInactive = false, .info = "incremental PID search" },
{ .key = " F3 /: ", .roInactive = false, .info = "incremental name search" },
Expand All @@ -526,6 +527,7 @@ static const struct {
bool roInactive;
const char* info;
} helpRight[] = {
{ .key = " S-Tab: ", .roInactive = false, .info = "switch to previous screen tab" },
{ .key = " Space: ", .roInactive = false, .info = "tag process" },
{ .key = " c: ", .roInactive = false, .info = "tag process and its children" },
{ .key = " U: ", .roInactive = false, .info = "untag all processes" },
Expand Down
4 changes: 4 additions & 0 deletions htop.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ held.
The following commands are supported while in
.BR htop :
.TP 5
.B Tab, Shift-Tab
Select the next / the previous screen tab to display.
You can enable showing the screen tab names in the Setup screen (F2).
.TP
.B Up, Alt-k
Select (highlight) the previous process in the process list. Scroll the list
if necessary.
Expand Down

0 comments on commit 8b98d3e

Please sign in to comment.