add space and new line
This commit is contained in:
parent
3e119d77c1
commit
eda408308e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user