Updated for colors

This commit is contained in:
Dimitris Zlatanidis 2023-03-09 22:52:20 +02:00
parent a2d380a37a
commit d3f5284ba6

View file

@ -77,7 +77,7 @@ class Ascii(Configs):
""" Draw nad print the packages. """ """ Draw nad print the packages. """
print(f'{self.bgreen}{self.vertical_line} {self.bold}{color}{package}{self.endc}' + ' ' * (35 - len(package)) + print(f'{self.bgreen}{self.vertical_line} {self.bold}{color}{package}{self.endc}' + ' ' * (35 - len(package)) +
f'{self.bgreen}{version}' + ' ' * ((self.columns - 39) - len(version) - len(self.repo)) + f'{self.bgreen}{version}' + ' ' * ((self.columns - 39) - len(version) - len(self.repo)) +
f'{self.yellow}{self.repo} {self.bgreen}{self.vertical_line}{self.endc}') f'{self.blue}{self.repo} {self.bgreen}{self.vertical_line}{self.endc}')
def draw_log_package(self, package: str) -> None: def draw_log_package(self, package: str) -> None:
""" Drawing and print logs packages. """ """ Drawing and print logs packages. """