diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-08 12:24:10 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-08 12:24:10 +0200 |
commit | 2fb1f5bed356520bc0b668f2a8ffef6c8d0318d2 (patch) | |
tree | 69f1511ff2e2baa2e45ba17ab6ed9372bc0b2077 /src/gmdocument.h | |
parent | 6f383d147fdcedd9626bfa3a80d4d5953eae398f (diff) |
Local Gemini links can use Emoji/symbol from label text
Instead of the default link icon, if a label starts with an Emoji or
symbol, use that as the icon. This only works with local Gemini links so
important information about link destination is not hidden.
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r-- | src/gmdocument.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h index 16127ea3..92f62ba4 100644 --- a/src/gmdocument.h +++ b/src/gmdocument.h | |||
@@ -69,6 +69,7 @@ enum iGmLinkFlags { | |||
69 | visited_GmLinkFlag = iBit(14), /* in the history */ | 69 | visited_GmLinkFlag = iBit(14), /* in the history */ |
70 | permanent_GmLinkFlag = iBit(15), /* content cannot be dismissed; media link */ | 70 | permanent_GmLinkFlag = iBit(15), /* content cannot be dismissed; media link */ |
71 | query_GmLinkFlag = iBit(16), /* Gopher query link */ | 71 | query_GmLinkFlag = iBit(16), /* Gopher query link */ |
72 | iconFromLabel_GmLinkFlag = iBit(17), /* use an Emoji/special character from label */ | ||
72 | }; | 73 | }; |
73 | 74 | ||
74 | struct Impl_GmHeading { | 75 | struct Impl_GmHeading { |