From 729f57c9c84289e688b10a1dac671fc122cebd79 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 3 Apr 2024 18:23:03 +0300 Subject: [PATCH] Updated for process print line --- slpkg/multi_process.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slpkg/multi_process.py b/slpkg/multi_process.py index 1d80795e..6595a445 100644 --- a/slpkg/multi_process.py +++ b/slpkg/multi_process.py @@ -68,11 +68,11 @@ class MultiProcess(Configs): if not process_1.is_alive(): process_2.terminate() if process_1.exitcode != 0: - print(f"\r{'':>2}{self.bred}{self.ascii.bullet}{self.endc} {filename} {failed}{' ' * 17}", end='\r') + print(f"\r{'':>2}{self.bred}{self.ascii.bullet}{self.endc} {filename} {failed}{' ' * 17}", end='') elif installed: - print(f"\r{'':>2}{self.bred}{self.ascii.bullet}{self.endc} {filename} {skip}{' ' * 17}", end='\r') + print(f"\r{'':>2}{self.bred}{self.ascii.bullet}{self.endc} {filename} {skip}{' ' * 17}", end='') else: - print(f"\r{'':>2}{self.bgreen}{self.ascii.bullet}{self.endc} {filename} {done}{' ' * 17}", end='\r') + print(f"\r{'':>2}{self.bgreen}{self.ascii.bullet}{self.endc} {filename} {done}{' ' * 17}", end='') # Restore the terminal cursor print('\x1b[?25h', self.endc)