summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Warner <james.warner@comcast.net>2023-03-15 00:00:00 -0600
committerCraig Small <csmall@dropbear.xyz>2023-03-21 22:11:29 +1100
commit411eaa1aa7d511aba6fb4df1cdb4335e838efdb5 (patch)
tree5e9187b33cbf03777dfb4fddc28d060435821c21
parent7e33fc47c642aceea8ad53e86a6797239b91f5f9 (diff)
downloadprocps-ng-411eaa1aa7d511aba6fb4df1cdb4335e838efdb5.tar.gz
top: restore a commit which had been reverted in error
Please do not look at this change and especially don't look at that commit message for the patch shown below. [ that way you won't notice I misinterpreted 'H' for ] [ an 'h' when this logic was reversed as 'redundant' ] Reference(s): commit 7e33fc47c642aceea8ad53e86a6797239b91f5f9 Signed-off-by: Jim Warner <james.warner@comcast.net>
-rw-r--r--src/top/top.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/top/top.c b/src/top/top.c
index 94c1593..26a9adb 100644
--- a/src/top/top.c
+++ b/src/top/top.c
@@ -5579,6 +5579,8 @@ static void keys_global (int ch) {
Winstk[i].begtask = Winstk[i].focus_pid = 0;
// force an extra procs refresh to avoid %cpu distortions...
Pseudo_row = PROC_XTRA;
+ // signal that we just corrupted entire screen
+ Frames_signal = BREAK_screen;
break;
case 'I':
if (Cpu_cnt > 1) {