mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
keep banners at 79
This commit is contained in:
@@ -199,7 +199,7 @@ class Display:
|
||||
|
||||
#FIXME: make this dynamic on tty size (look and ansible-doc)
|
||||
msg = msg.strip()
|
||||
star_len = (self.columns + 1 - len(msg))
|
||||
star_len = (79 - len(msg))
|
||||
if star_len < 0:
|
||||
star_len = 3
|
||||
stars = "*" * star_len
|
||||
|
||||
Reference in New Issue
Block a user