summaryrefslogtreecommitdiff
path: root/wasp/widgets.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2021-07-22 19:03:59 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-07-22 19:04:50 (GMT)
commit0831f79a105329f0dd7cd252b9fcd327415e4f82 (patch)
tree7aa811f39ff53dd1ae6702615966d2d137da25ad /wasp/widgets.py
parent586507753b7ad38b8bfd5ed233929c835a72c878 (diff)
draw565: Improve line wrapping
Currently the final word of wrapped text will always appear as a single word on its own line. Fix this by rearranging the break cases to avoid searching for the most recent space when we get to the end of the text. Fixes: #230 Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/widgets.py')
0 files changed, 0 insertions, 0 deletions