1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

keep banners at 79

This commit is contained in:
Brian Coca 2015-08-06 17:21:20 -04:00
parent 25e67bb716
commit 5f0359c119

View file

@ -199,7 +199,7 @@ class Display:
#FIXME: make this dynamic on tty size (look and ansible-doc) #FIXME: make this dynamic on tty size (look and ansible-doc)
msg = msg.strip() msg = msg.strip()
star_len = (self.columns + 1 - len(msg)) star_len = (79 - len(msg))
if star_len < 0: if star_len < 0:
star_len = 3 star_len = 3
stars = "*" * star_len stars = "*" * star_len