thanks, copilot

pull/35031/head
Cameron Clough 1 week ago
parent a50e96cd40
commit c5f6045267
  1. 3
      system/ui/text.py

@ -20,6 +20,9 @@ def wrap_text(text, font_size, max_width):
font = gui_app.font()
for paragraph in text.split("\n"):
if not paragraph.strip():
lines.append("")
continue
indent = re.match(r"^\s*", paragraph).group()
current_line = indent
for word in paragraph.split():

Loading…
Cancel
Save