diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2020-11-03 20:54:53 -0500 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-04 17:09:41 +0200 |
commit | eda5c2dc976f2d02cee5c8dc2feaa2d824d40c79 (patch) | |
tree | 1f2ce7d33f515e92adebb770c91d263d9ac21a08 /src/macos.h | |
parent | 9e555a0ba9e3b5b9234d42f38f68eabaa750c08c (diff) |
ui: Fix line wrapping of emoticons
While we do want to have special handling of punctuation to help wrap
pathologically-long-hyphenated-words-that-go-on-for-kilometers, we don't
want to wrap emoticons, so let's adjust the logic to account for this.
While we're at it, clean up and add a comment explaining the logic for
the benefit of future readers.
Fixes rendering of a recent post on CAPCOM at certain window sizes
=> gemini://rosenzweig.io/lagrange/Before.png Before the change
=> gemini://rosenzweig.io/lagrange/After.png After the change
Notice the wrapping of the ":D" in the second paragraph.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Diffstat (limited to 'src/macos.h')
0 files changed, 0 insertions, 0 deletions