Document screen tab switching (TAB, Shift-TAB keys)

This commit is contained in:
Daniel Lange 2022-04-30 12:33:59 +02:00 committed by BenBE
parent 7e66ee1d28
commit 8b98d3effb
2 changed files with 6 additions and 0 deletions

View File

@ -502,6 +502,7 @@ static const struct {
bool roInactive; bool roInactive;
const char* info; const char* info;
} helpLeft[] = { } helpLeft[] = {
{ .key = " Tab: ", .roInactive = false, .info = "switch to next screen tab" },
{ .key = " Arrows: ", .roInactive = false, .info = "scroll process list" }, { .key = " Arrows: ", .roInactive = false, .info = "scroll process list" },
{ .key = " Digits: ", .roInactive = false, .info = "incremental PID search" }, { .key = " Digits: ", .roInactive = false, .info = "incremental PID search" },
{ .key = " F3 /: ", .roInactive = false, .info = "incremental name search" }, { .key = " F3 /: ", .roInactive = false, .info = "incremental name search" },
@ -526,6 +527,7 @@ static const struct {
bool roInactive; bool roInactive;
const char* info; const char* info;
} helpRight[] = { } helpRight[] = {
{ .key = " S-Tab: ", .roInactive = false, .info = "switch to previous screen tab" },
{ .key = " Space: ", .roInactive = false, .info = "tag process" }, { .key = " Space: ", .roInactive = false, .info = "tag process" },
{ .key = " c: ", .roInactive = false, .info = "tag process and its children" }, { .key = " c: ", .roInactive = false, .info = "tag process and its children" },
{ .key = " U: ", .roInactive = false, .info = "untag all processes" }, { .key = " U: ", .roInactive = false, .info = "untag all processes" },

View File

@ -96,6 +96,10 @@ held.
The following commands are supported while in The following commands are supported while in
.BR htop : .BR htop :
.TP 5 .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 .B Up, Alt-k
Select (highlight) the previous process in the process list. Scroll the list Select (highlight) the previous process in the process list. Scroll the list
if necessary. if necessary.