Add Shift-F7, Shift-F8 keybindings for autogroups

main
Daniel Lange 5 years ago committed by Nathan Scott
parent 1bd95983b2
commit eb4ff3c69c
  1. 4
      htop.1.in
  2. 2
      linux/Platform.c

@ -176,11 +176,11 @@ This can only be done by the superuser.
.B F8, [ .B F8, [
Decrease the selected process's priority (add to 'nice' value) Decrease the selected process's priority (add to 'nice' value)
.TP .TP
.B } .B Shift-F7, }
Increase the selected process's autogroup priority (subtract from autogroup 'nice' value). Increase the selected process's autogroup priority (subtract from autogroup 'nice' value).
This can only be done by the superuser. This can only be done by the superuser.
.TP .TP
.B { .B Shift-F8, {
Decrease the selected process's autogroup priority (add to autogroup 'nice' value) Decrease the selected process's autogroup priority (add to autogroup 'nice' value)
.TP .TP
.B F9, k .B F9, k

@ -182,6 +182,8 @@ void Platform_setBindings(Htop_Action* keys) {
keys['i'] = Platform_actionSetIOPriority; keys['i'] = Platform_actionSetIOPriority;
keys['{'] = Platform_actionLowerAutogroupPriority; keys['{'] = Platform_actionLowerAutogroupPriority;
keys['}'] = Platform_actionHigherAutogroupPriority; keys['}'] = Platform_actionHigherAutogroupPriority;
keys[KEY_F(19)] = Platform_actionLowerAutogroupPriority; // Shift-F7
keys[KEY_F(20)] = Platform_actionHigherAutogroupPriority; // Shift-F8
} }
const MeterClass* const Platform_meterTypes[] = { const MeterClass* const Platform_meterTypes[] = {

Loading…
Cancel
Save