From a1f1d32e18ebe619334ba54efbba1f2ab3a22a64 Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Tue, 22 Apr 2025 20:48:53 +0100 Subject: [PATCH] this is a good comment? --- system/ui/text.py | 1 + 1 file changed, 1 insertion(+) diff --git a/system/ui/text.py b/system/ui/text.py index b0e1f21a62..5c888adcf8 100755 --- a/system/ui/text.py +++ b/system/ui/text.py @@ -21,6 +21,7 @@ def wrap_text(text, font_size, max_width): for paragraph in text.split("\n"): if not paragraph.strip(): + # Don't add an empty line to the start of the list, ensuring wrap_text("") returns [] if lines: lines.append("") continue