Skip to content

Commit 2c415a4

Browse files
committed
Updated the display for the Title
1 parent cded03a commit 2c415a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bashplotlib/utils/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def box_text(text, width, offset=0):
8080
"""
8181
Return text inside an ascii textbox
8282
"""
83-
box = " " * offset + "-" * (width+2) + "\n"
83+
box = " " * offset + "+" + "-" * (width) + "+" + "\n"
8484
box += " " * offset + "|" + text.center(width) + "|" + "\n"
85-
box += " " * offset + "-" * (width+2)
85+
box += " " * offset + "+" + "-" * (width) + "+"
8686
return box

0 commit comments

Comments
 (0)