diff options
author | Thomas Voss <mail@thomasvoss.com> | 2022-10-04 10:49:27 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2022-10-04 10:49:27 +0200 |
commit | ba2f3b5d6277ae6aa0c5ff104c5048a71d06458f (patch) | |
tree | 02390739af6350f7d2ff9cf24e7b651144808958 /TODO | |
parent | aeba3f9e04d044012f939dadf279e3c561f7b69b (diff) |
Fix bug when width is less than line length
If the length of a line is longer than the width of the display we want
to center on, `width - len` becomes negative which causes an infinite
loop of printing spaces. This fixes that bug.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions