diff --git a/color-top.py b/color-top.py index 514c9ca..238d48a 100644 --- a/color-top.py +++ b/color-top.py @@ -92,7 +92,7 @@ def main(): while True: refresh_count += 1 elapsed = time.time() - start_time - show_quit = refresh_count <= 3 or elapsed <= 3 + show_quit = refresh_count < 3 and elapsed < 3 print_processes(limit, show_quit_hint=show_quit) key = wait_for_keypress(timeout=interval) if key and key.lower() == 'q':