diff options
author | Nathan Scott <nathans@redhat.com> | 2023-02-14 11:51:54 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2023-05-08 09:17:42 +1000 |
commit | e4ebe18b67c366d367231a1123b057c82018cf5b (patch) | |
tree | 2b65f14a290fc0979776cd9da03093f793e9fc5d /Action.c | |
parent | 8a8df71f6f355fdaf748eb80bf8558c1bcbec937 (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |