Fix help screen in 80x24 terminal size

Add new z key in man page
This commit is contained in:
Alessio Sergi 2014-03-19 17:00:00 +01:00
parent 9db6b0c679
commit f71caa27fc
3 changed files with 7 additions and 4 deletions

View File

@ -147,7 +147,7 @@ The following commands (key pressed) are supported while in Glances:
``y``
Show/hide hddtemp stats (only available with -y flag)
``z``
Show/hide processes list(for low CPU consumption)
Show/hide processes list (for low CPU consumption)
``1``
Switch between global CPU and per-CPU stats

View File

@ -1206,7 +1206,7 @@ class GlancesGrabProcesses:
procstat['name'] = proc.name()
except TypeError:
procstat['name'] = proc.name
# Process username (cached with internal cache)
try:
@ -3807,7 +3807,7 @@ class glancesScreen:
except UnicodeEncodeError:
self.term_window.addnstr(monitor_y + 3 + processes,
process_x + process_name_x,
process_name, max_process_name)
process_name, max_process_name)
def displayCaption(self, cs_status="None"):
"""
@ -3987,7 +3987,7 @@ class glancesScreen:
[_("h"), _("Show/hide this help screen")],
[_("t"), _("View network I/O as combination")],
[_("u"), _("View cumulative network I/O")],
[_("z"), _("Show/hide processes list (low CPU usage)")],
[_("z"), _("Show/hide processes list")],
[_("q"), _("Quit (Esc and Ctrl-C also work)")]]
key_table_x = self.help_x + 38
key_table_y = limits_table_y + 1

View File

@ -135,6 +135,9 @@ Delete finished warning and critical log messages
.B y
Show/hide hddtemp stats (only available with \-y flag)
.TP
.B z
Show/hide processes list (for low CPU consumption)
.TP
.B 1
Switch between global CPU and per-CPU stats
.SH EXAMPLES