summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2022-04-30 12:33:59 +0200
committerBenBE <BenBE@geshi.org>2022-04-30 17:06:59 +0200
commit8b98d3effbdfe7e6656fd35069ce8d4e97ec90ba (patch)
tree4144c9e5da3877300030a3e8c1142a233f90a5e2
parent7e66ee1d28e369207e05be98513c060c74b3b089 (diff)
Document screen tab switching (TAB, Shift-TAB keys)
-rw-r--r--Action.c2
-rw-r--r--htop.1.in4
2 files changed, 6 insertions, 0 deletions
diff --git a/Action.c b/Action.c
index 9ee0cdb5..ce3cd13c 100644
--- a/Action.c
+++ b/Action.c
@@ -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" },
@@ -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" },
diff --git a/htop.1.in b/htop.1.in
index c298e7cb..c81c8192 100644
--- a/htop.1.in
+++ b/htop.1.in
@@ -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.

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