Change the version color

This commit is contained in:
Dimitris Zlatanidis 2023-01-04 22:51:16 +02:00
parent 551d97b7c0
commit b1d4c5b972

View file

@ -37,6 +37,7 @@ class ViewMessage:
self.red = self.color['red']
self.grey = self.color['grey']
self.violet = self.color['violet']
self.blue = self.color['blue']
self.endc = self.color['endc']
self.installed_packages = []
self.columns, self.rows = shutil.get_terminal_size()
@ -82,7 +83,8 @@ class ViewMessage:
color = self.violet
print(f'{self.bgreen}{self.vl} {self.bold}{color}{package}{self.endc}' + ' ' * (35 - len(package)) +
f'{version}' + ' ' * ((self.columns - 37) - len(version) - 1) + f'{self.bgreen}{self.vl}{self.endc}')
f'{self.blue}{version}' + ' ' * ((self.columns - 37) - len(version) - 1) +
f'{self.bgreen}{self.vl}{self.endc}')
def draw_bottom_line(self):
""" Drawing the bottom line. """