summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorJake Mannens <jakem_5@hotmail.com>2020-12-24 03:24:15 +1100
committerJake Mannens <jakem_5@hotmail.com>2020-12-24 03:24:15 +1100
commitf46ddd3230db4a12b319a35a393bf447c613007a (patch)
tree085f1dbc6cbd8f1b8f42e49c8cd90e24bb4b4115 /Action.c
parent0672be7db1ed50fceff0619e1411b510aa11f0f7 (diff)
Remove 'n' and 'N' search inc/dec keybinds
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Action.c b/Action.c
index 5accac2e..16ed4c22 100644
--- a/Action.c
+++ b/Action.c
@@ -250,16 +250,6 @@ static Htop_Reaction actionIncSearch(State* st) {
return HTOP_REFRESH | HTOP_KEEP_FOLLOWING;
}
-static Htop_Reaction actionIncNext(State* st) {
- IncSet_next(((MainPanel*)st->panel)->inc, INC_SEARCH, st->panel, (IncMode_GetPanelValue) MainPanel_getValue);
- return HTOP_REFRESH | HTOP_KEEP_FOLLOWING;
-}
-
-static Htop_Reaction actionIncPrev(State* st) {
- IncSet_prev(((MainPanel*)st->panel)->inc, INC_SEARCH, st->panel, (IncMode_GetPanelValue) MainPanel_getValue);
- return HTOP_REFRESH | HTOP_KEEP_FOLLOWING;
-}
-
static Htop_Reaction actionHigherPriority(State* st) {
bool changed = changePriority((MainPanel*)st->panel, -1);
return changed ? HTOP_REFRESH : HTOP_OK;
@@ -655,7 +645,6 @@ void Action_setBindings(Htop_Action* keys) {
keys['I'] = actionInvertSortOrder;
keys['K'] = actionToggleKernelThreads;
keys['M'] = actionSortByMemory;
- keys['N'] = actionIncPrev;
keys['P'] = actionSortByCPU;
keys['S'] = actionSetup;
keys['T'] = actionSortByTime;
@@ -673,7 +662,6 @@ void Action_setBindings(Htop_Action* keys) {
keys['k'] = actionKill;
keys['l'] = actionLsof;
keys['m'] = actionToggleMergedCommand;
- keys['n'] = actionIncNext;
keys['p'] = actionToggleProgramPath;
keys['q'] = actionQuit;
keys['s'] = actionStrace;

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