-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LCDs: Rework line breaking algorithm, include spaces, show unknown sy…
…mbols as spaces (#64) Typeset the lines according to these rules (in order of subjective significance): * words that fit on the screen but would let the current line overflow are placed on a new line instead * " | " always forces a linebreak * spaces are included, except when there is a linebreak anyway * words with more characters than fit on screen are just chopped up, filling the lines as full as possible * don't bother typesetting more lines than fit on screen * if we are on the last line that will fit on screen
- Loading branch information
1 parent
021c521
commit ab2eb4a
Showing
1 changed file
with
91 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters