From 21451d4bda8e23771515c3a581aad9d8b81f5997 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sun, 17 Apr 2022 16:49:15 -0700 Subject: [PATCH] Use preformatted_box with print_box. --- text_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__': -- 2.45.2