Updated bullet color

This commit is contained in:
Dimitris Zlatanidis 2023-06-28 10:50:09 +03:00
parent 1703d5f910
commit 6a0e8b31b5
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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: