From 5760971ca6d485c7269503c3635f903fbe0202eb Mon Sep 17 00:00:00 2001 From: JustinOros Date: Thu, 31 Jul 2025 16:25:11 -0700 Subject: [PATCH] Sorted help menu alphabetically. --- color-top.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/color-top.py b/color-top.py index f433560..12e1a11 100644 --- a/color-top.py +++ b/color-top.py @@ -74,7 +74,7 @@ def print_processes(limit, show_quit_hint=True, use_color=True, show_line_number if use_color: print(GREEN, end='') - line_prefix = "Ln " if show_line_numbers else "" + line_prefix = "Ln " if show_line_numbers else "" cpu_col = " CPU" name_col = " Process" user_col = " User" @@ -133,7 +133,6 @@ def main(): print_processes(limit, show_quit_hint=show_quit, use_color=use_color, show_line_numbers=show_lines) key = wait_for_keypress(timeout=interval) if key and key.lower() == 'q': - print("Exiting...") break except KeyboardInterrupt: print("\nProgram interrupted. Exiting...")