top: turn off the 'Ctrl' bottom window with 1 more key

In that commit shown below, the concept of a corrupted
display was introduced so that 'Ctrl' windows could be
redrawn now that they were made more persistent. Well,
it turns out there is another case where redrawing was
necessary. That is when transitioning between task and
thread modes. So this patch addresses those occasions.

Reference(s):
. May, 2022 - introduced Frames_signal BREAK_screen
commit d66c1f39b5

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2022-05-05 00:00:00 -05:00 committed by Craig Small
parent 793f3e85ae
commit 3f068a66c8

View File

@ -5215,6 +5215,8 @@ static void keys_global (int ch) {
Winstk[i].begtask = Winstk[i].focus_pid = 0; Winstk[i].begtask = Winstk[i].focus_pid = 0;
// force an extra procs refresh to avoid %cpu distortions... // force an extra procs refresh to avoid %cpu distortions...
Pseudo_row = PROC_XTRA; Pseudo_row = PROC_XTRA;
// signal that we just corrupted entire screen
Frames_signal = BREAK_screen;
break; break;
case 'I': case 'I':
if (Cpu_cnt > 1) { if (Cpu_cnt > 1) {