From: Scott Gasch Date: Sun, 17 Apr 2022 23:49:15 +0000 (-0700) Subject: Use preformatted_box with print_box. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=21451d4bda8e23771515c3a581aad9d8b81f5997;p=python_utils.git Use preformatted_box with print_box. --- 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__':