is_emoji_presentation
parent
0b7ab006e9
commit
8f0785e90a
|
|
@ -37,8 +37,8 @@
|
|||
.lazy = true,
|
||||
},
|
||||
.uucode = .{
|
||||
.url = "https://github.com/jacobsandlund/uucode/archive/658743f845f25f8f8d30f535329829660c808eaf.tar.gz",
|
||||
.hash = "uucode-0.0.0-ZZjBPjWBPACBbQFG11xoSRCP8NztUnPCieiCtBx0t57i",
|
||||
.url = "https://github.com/jacobsandlund/uucode/archive/aaa2aef70dd37e7c3975bb973fcc36bf93faab9f.tar.gz",
|
||||
.hash = "uucode-0.0.0-ZZjBPi6BPAC5vZ7yoeYp_5uMNSVx_JsgzY-r54DEgt3a",
|
||||
},
|
||||
.uucode_x = .{
|
||||
.url = "https://github.com/jacobsandlund/uucode.x/archive/ca9a9a4560307a30319d206b1ac68a7fc2f2fce9.tar.gz",
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ pub const tables = [_]config.Table{
|
|||
wcwidth.field("wcwidth"),
|
||||
d.field("general_category"),
|
||||
d.field("block"),
|
||||
d.field("has_emoji_presentation"),
|
||||
d.field("is_emoji_presentation"),
|
||||
d.field("case_folding_full"),
|
||||
// Alternative:
|
||||
// d.field("case_folding_simple"),
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ pub fn getIndex(
|
|||
// we'll do this multiple times if we recurse, but this is a cached function
|
||||
// call higher up (GroupCache) so this should be rare.
|
||||
const p_mode: Collection.PresentationMode = if (p) |v| .{ .explicit = v } else .{
|
||||
.default = if (uucode.get(.has_emoji_presentation, @intCast(cp)))
|
||||
.default = if (uucode.get(.is_emoji_presentation, @intCast(cp)))
|
||||
.emoji
|
||||
else
|
||||
.text,
|
||||
|
|
|
|||
Loading…
Reference in New Issue