Commit 5f0359c1 by Brian Coca

keep banners at 79

parent 25e67bb7
...@@ -199,7 +199,7 @@ class Display: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment