Closes  #223
This commit is contained in:
Daniel Lange 2020-10-09 09:45:41 +02:00
commit 7fa0f19ffd
2 changed files with 5 additions and 4 deletions

View File

@ -423,8 +423,8 @@ static const struct { const char* key; const char* info; } helpRight[] = {
{ .key = " e: ", .info = "show process environment" },
{ .key = " i: ", .info = "set IO priority" },
{ .key = " l: ", .info = "list open files with lsof" },
{ .key = " M: ", .info = "show process command in multiple lines" },
{ .key = " s: ", .info = "trace syscalls with strace" },
{ .key = " w: ", .info = "wrap process command in multiple lines" },
{ .key = " F2 C S: ", .info = "setup" },
{ .key = " F1 h: ", .info = "show this help screen" },
{ .key = " F10 q: ", .info = "quit" },
@ -595,5 +595,5 @@ void Action_setBindings(Htop_Action* keys) {
keys['U'] = actionUntagAll;
keys['c'] = actionTagAllChildren;
keys['e'] = actionShowEnvScreen;
keys['M'] = actionShowCommandScreen;
keys['w'] = actionShowCommandScreen;
}

View File

@ -119,8 +119,9 @@ update of system calls issued by the process.
Display open files for a process: if lsof(1) is installed, pressing this key
will display the list of file descriptors opened by the process.
.TP
.B M
Display the command line of the highlighted process in multiple lines.
.B w
Display the command line of the selected process in a separate screen, wrapped
onto multiple lines as needed.
.TP
.B F1, h, ?
Go to the help screen