mirror of
https://gitlab.com/procps-ng/procps.git
synced 2024-11-24 02:24:51 +08:00
top: program is now more responsive to keyboard inputs
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
381af1af81
commit
3ea1bc779f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user