]> granicus.if.org Git - procps-ng/commitdiff
top: turn off the 'Ctrl' bottom window with 1 more key <=== port of newlib 3f068a66
authorJim Warner <james.warner@comcast.net>
Wed, 15 Jun 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sun, 19 Jun 2022 10:58:51 +0000 (20:58 +1000)
______________________________ original newlib message
--------------------------------------------- ( none )

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c

index 142d5213e08ca7c601c36254d0dc859174303fc4..d199b5e366568fb302da8822a0664be47628550c 100644 (file)
--- a/top/top.c
+++ b/top/top.c
@@ -5422,6 +5422,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 (smp_num_cpus > 1) {