Skip to content

Commit 4ebb650

Browse files
adding + signs to the title corners
1 parent cded03a commit 4ebb650

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.history
12
*.pyc
23
env
34
*.txt

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)