summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2023-02-14 11:51:54 +1100
committerNathan Scott <nathans@redhat.com>2023-05-08 09:17:42 +1000
commite4ebe18b67c366d367231a1123b057c82018cf5b (patch)
tree2b65f14a290fc0979776cd9da03093f793e9fc5d /Action.c
parent8a8df71f6f355fdaf748eb80bf8558c1bcbec937 (diff)
Drop references to 'Process' in generic screen code
Prepare the way for making screen tabs more generalised, able to cater to entities other than processes. 'actionTogglePauseProcessUpdate' -> 'actionTogglePauseUpdate' 'pauseProcessUpdate' -> 'pauseUpdate' 'hideProcessSelection' -> 'hideSelection' 'hideProcessSelection' -> 'hideSelection' Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Action.c b/Action.c
index c5b16360..73b86062 100644
--- a/Action.c
+++ b/Action.c
@@ -568,8 +568,8 @@ static Htop_Reaction actionRedraw(ATTR_UNUSED State* st) {
return HTOP_REFRESH | HTOP_REDRAW_BAR;
}
-static Htop_Reaction actionTogglePauseProcessUpdate(State* st) {
- st->pauseProcessUpdate = !st->pauseProcessUpdate;
+static Htop_Reaction actionTogglePauseUpdate(State* st) {
+ st->pauseUpdate = !st->pauseUpdate;
return HTOP_REFRESH | HTOP_REDRAW_BAR;
}
@@ -836,7 +836,7 @@ void Action_setBindings(Htop_Action* keys) {
#ifdef SCHEDULER_SUPPORT
keys['Y'] = actionSetSchedPolicy;
#endif
- keys['Z'] = actionTogglePauseProcessUpdate;
+ keys['Z'] = actionTogglePauseUpdate;
keys['['] = actionLowerPriority;
keys['\014'] = actionRedraw; // Ctrl+L
keys['\177'] = actionCollapseIntoParent;

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