Skip to content

Commit 3756605

Browse files
committed
Update display_during_execution
1 parent 0cab23b commit 3756605

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

manimlib/utils/tex_file_writing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ def dvi_to_svg(dvi_file, regen_if_exists=False):
126126
def display_during_execution(message):
127127
# Only show top line
128128
to_print = message.split("\n")[0]
129+
if len(to_print) > 80:
130+
to_print = to_print[:77] + "..."
129131
try:
130132
print(to_print, end="\r")
131133
yield

0 commit comments

Comments
 (0)