diff options
author | Daniel Lange <DLange@git.local> | 2021-08-09 16:23:09 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-08-09 16:23:09 +1000 |
commit | eb4ff3c69cf2b0c78d5158728fe0cc0245f2d080 (patch) | |
tree | 605352d1d68a9de801eee39e4a5fbc8ee5c36f40 | |
parent | 1bd95983b2703cb313ea301367ff3199fabd1f9d (diff) |
Add Shift-F7, Shift-F8 keybindings for autogroups
-rw-r--r-- | htop.1.in | 4 | ||||
-rw-r--r-- | linux/Platform.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -176,11 +176,11 @@ This can only be done by the superuser. .B F8, [ Decrease the selected process's priority (add to 'nice' value) .TP -.B } +.B Shift-F7, } Increase the selected process's autogroup priority (subtract from autogroup 'nice' value). This can only be done by the superuser. .TP -.B { +.B Shift-F8, { Decrease the selected process's autogroup priority (add to autogroup 'nice' value) .TP .B F9, k diff --git a/linux/Platform.c b/linux/Platform.c index 64be93c7..f45f4f53 100644 --- a/linux/Platform.c +++ b/linux/Platform.c @@ -182,6 +182,8 @@ void Platform_setBindings(Htop_Action* keys) { keys['i'] = Platform_actionSetIOPriority; keys['{'] = Platform_actionLowerAutogroupPriority; keys['}'] = Platform_actionHigherAutogroupPriority; + keys[KEY_F(19)] = Platform_actionLowerAutogroupPriority; // Shift-F7 + keys[KEY_F(20)] = Platform_actionHigherAutogroupPriority; // Shift-F8 } const MeterClass* const Platform_meterTypes[] = { |