From 3756605a4540fbf80e104e92f8ab97fcedae8aff Mon Sep 17 00:00:00 2001 From: YishiMichael Date: Tue, 15 Feb 2022 20:55:44 +0800 Subject: [PATCH] Update display_during_execution --- manimlib/utils/tex_file_writing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manimlib/utils/tex_file_writing.py b/manimlib/utils/tex_file_writing.py index 0b0e0ba9..35509671 100644 --- a/manimlib/utils/tex_file_writing.py +++ b/manimlib/utils/tex_file_writing.py @@ -126,6 +126,8 @@ def dvi_to_svg(dvi_file, regen_if_exists=False): def display_during_execution(message): # Only show top line to_print = message.split("\n")[0] + if len(to_print) > 80: + to_print = to_print[:77] + "..." try: print(to_print, end="\r") yield