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:
parent
25e67bb716
commit
5f0359c119
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue