Commits
- Commit:
b0266e30b490378eb3f3880d63042a3f8af33ca5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
account for the prefix width when wrapping lines
- Commit:
6b91e1041d28dd381315414c359c84c2d1fa2d93
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove wrap_one, use an extra parameter for wrap_text
- Commit:
d5e0ee089932fa61ce56746c09c77019353d5614
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use libgrapheme for text reflowing
unlike the previous hack, libgrapheme is UNICODE 15.0 compliant (at the
time of writing) and provides some nice API. While here, drop the hard
wrap method for preformatted blocks: always use the normal wrapping.
Since libgrapheme is not yet widely available, future commits will
probably add a bundled version to ease packaging. I'll also start to
replace various home-grown UNICODE/utf8 handling routines with functions
from libgrapheme.
- Commit:
4cd67caa74b004977098c2d1927cf8e28dd4c9ed
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move some unicode-related code in u/