From d7046a947177ff6f4917222b000e421a371f0df0 Mon Sep 17 00:00:00 2001 From: samerbam Date: Tue, 22 Aug 2023 23:20:34 -0400 Subject: [PATCH] add wsearch dividers --- application/thermal_print.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/thermal_print.py b/application/thermal_print.py index 5c5107b..98841af 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -100,10 +100,12 @@ class ThermalPrinter(): words = r.random_words(15, include_parts_of_speech=["nouns", "verbs", "adjectives"]) w = WordSearch(','.join(words), 32, 16) + self.p.text("Word Search: \n") for x in w.grid: self.p.set(align="center") self.p.text(''.join(x) + "\n") + self.p.text("\nWords: \n") wwords = textwrap.wrap(' '.join(words), 32) for word in wwords: self.p.set(align="left")