summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-04-17 16:49:15 -0700
committerScott Gasch <[email protected]>2022-04-17 16:49:15 -0700
commit21451d4bda8e23771515c3a581aad9d8b81f5997 (patch)
tree4181eafb7e7762bb2d7166a0271aca61d8fdbb8f
parente11d9b0958b2874bd67360552e9214d965fe0d12 (diff)
Use preformatted_box with print_box.
-rw-r--r--text_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text_utils.py b/text_utils.py
index b426619..18a2257 100644
--- a/text_utils.py
+++ b/text_utils.py
@@ -428,7 +428,7 @@ def print_box(
╰────╯
"""
- print(box(title, text, width=width, color=color), end='')
+ print(preformatted_box(title, text, width=width, color=color), end='')
if __name__ == '__main__':