top: program is now more responsive to keyboard inputs

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

View File

@ -2019,7 +2019,6 @@ static void adj_geometry (void) {
Graph_adj = (float)Graph_len / 100.0;
fflush(stdout);
Frames_signal = BREAK_off;
} // end: adj_geometry
@ -7094,6 +7093,7 @@ int main (int argc, char *argv[]) {
if (0 < Loops) --Loops;
if (!Loops) bye_bye(NULL);
if (Frames_signal) { Frames_signal = BREAK_off; continue; }
ts.tv_sec = Rc.delay_time;
ts.tv_nsec = (Rc.delay_time - (int)Rc.delay_time) * 1000000000;