mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Centralize title
This commit is contained in:
parent
a4df3df10b
commit
a6961587a7
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Ascii(Configs):
|
|||
|
||||
def draw_package_title_box(self, message, title):
|
||||
""" Drawing package title box. """
|
||||
middle_title = int((self.columns / 2) - len(title) + 2)
|
||||
middle_title = int((self.columns / 2) - len(title) + 6)
|
||||
|
||||
print(f'{self.bgreen}{self.upper_left_corner}' + f'{self.horizontal_line}' * (self.columns - 2) +
|
||||
f'{self.upper_right_corner}')
|
||||
|
|
Loading…
Reference in a new issue