add space and new line

This commit is contained in:
samerbam 2023-08-23 13:08:01 -04:00
parent 3e119d77c1
commit eda408308e

View File

@ -89,7 +89,7 @@ class ThermalPrinter():
fele = todo_text.pop(0)
print(todo_text_max_len-len(fele))
print(fele)
self.p.text(" "*(todo_text_max_len-len(fele)) + fele)
self.p.text(" " + " "*(todo_text_max_len-len(fele)) + fele + "\n")
todo_text = textwrap.wrap(' '.join(todo_text), 32)
for t in todo_text: