Use preformatted_box with print_box.
authorScott Gasch <[email protected]>
Sun, 17 Apr 2022 23:49:15 +0000 (16:49 -0700)
committerScott Gasch <[email protected]>
Sun, 17 Apr 2022 23:49:15 +0000 (16:49 -0700)
text_utils.py

index b42661959021c42180986f1f4e6dbaa93592a516..18a22577d7efef0962f1ba8d65ade4e859ce4e4b 100644 (file)
@@ -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__':