From 6a0e8b31b51ddc796c9cdad9f0685d7c5b2345a0 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 28 Jun 2023 10:50:09 +0300 Subject: [PATCH] Updated bullet color --- ChangeLog.txt | 4 ++++ slpkg/progress_bar.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index eb8c8ee6..d47c7fd5 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,5 +1,9 @@ ## slpkg - ChangeLog +### 4.9.1 - 28/06/2023 +Updated: + - Bullet progress bar color + ### 4.9.0 - 21/06/2023 Updated: - For multilib install instructions diff --git a/slpkg/progress_bar.py b/slpkg/progress_bar.py index dee46a34..d6731e40 100644 --- a/slpkg/progress_bar.py +++ b/slpkg/progress_bar.py @@ -39,7 +39,7 @@ class ProgressBar(Configs): except KeyboardInterrupt: raise SystemExit(1) else: - print(f"{'':>2}{self.red}{self.ascii.bullet}{self.endc} {filename}: " + print(f"{'':>2}{self.yellow}{self.ascii.bullet}{self.endc} {filename}: " f"{message}... {self.color}", end='') def assign_spinners(self) -> None: @@ -66,7 +66,7 @@ class ProgressBar(Configs): def set_the_spinner_message(self, filename: str, message: str) -> None: self.bar_message: str = f"{self.endc}{message} " if filename: - self.bar_message: str = (f"{'':>2}{self.red}{self.ascii.bullet}{self.endc} {filename}: " + self.bar_message: str = (f"{'':>2}{self.yellow}{self.ascii.bullet}{self.endc} {filename}: " f"{message}... ") def set_spinner(self) -> None: