From 8be4d12ad12fd98ee266b7a9d0f3f59e9ecea2b0 Mon Sep 17 00:00:00 2001 From: Felipe Date: Wed, 21 Feb 2024 19:56:14 -0300 Subject: [PATCH 1/2] Updates - new futures --- src/upd8all_updater.py | 1 + src/upd8all_updater_unstable.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/upd8all_updater.py b/src/upd8all_updater.py index 38c487b..494e51b 100644 --- a/src/upd8all_updater.py +++ b/src/upd8all_updater.py @@ -84,6 +84,7 @@ def main(): # Request sudo password at the start of the program sudo_password = getpass.getpass(prompt="Enter your sudo password: ") + print() # Add a newline after entering the password # Update packages update_pacman(sudo_password) diff --git a/src/upd8all_updater_unstable.py b/src/upd8all_updater_unstable.py index 38c487b..494e51b 100644 --- a/src/upd8all_updater_unstable.py +++ b/src/upd8all_updater_unstable.py @@ -84,6 +84,7 @@ def main(): # Request sudo password at the start of the program sudo_password = getpass.getpass(prompt="Enter your sudo password: ") + print() # Add a newline after entering the password # Update packages update_pacman(sudo_password) From 2f67d971f36bdf2c3226aca582b954416276f51e Mon Sep 17 00:00:00 2001 From: Felipe Date: Wed, 21 Feb 2024 19:58:30 -0300 Subject: [PATCH 2/2] Updates - new futures --- src/upd8all_updater.py | 1 + src/upd8all_updater_unstable.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/upd8all_updater.py b/src/upd8all_updater.py index 494e51b..ab720da 100644 --- a/src/upd8all_updater.py +++ b/src/upd8all_updater.py @@ -116,6 +116,7 @@ def main(): # Check if the user wants to quit if selected_option == 'q': print("Exiting the program.") + timer_thread.cancel() # Cancel the timer immediately sys.exit(0) package_manager = "" diff --git a/src/upd8all_updater_unstable.py b/src/upd8all_updater_unstable.py index 494e51b..ab720da 100644 --- a/src/upd8all_updater_unstable.py +++ b/src/upd8all_updater_unstable.py @@ -116,6 +116,7 @@ def main(): # Check if the user wants to quit if selected_option == 'q': print("Exiting the program.") + timer_thread.cancel() # Cancel the timer immediately sys.exit(0) package_manager = ""