this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

update ziglyph

update ziglyph to include proper default text emoji with VS16 selector
widths

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>

+7 -2
+2 -2
build.zig.zon
··· 11 11 12 12 .dependencies = .{ 13 13 .ziglyph = .{ 14 - .url = "https://codeberg.org/dude_the_builder/ziglyph/archive/main.tar.gz", 15 - .hash = "12208553f3f47e51494e187f4c0e6f6b3844e3993436cad4a0e8c4db4e99645967b5", 14 + .url = "https://codeberg.org/dude_the_builder/ziglyph/archive/ac50ab06c91d2dd632ff4573c035dafe3b374aba.tar.gz", 15 + .hash = "1220e097fbfb3a15a6f3484cf507f1f10ab571d1bcf519c3b5447ca727782b7a5264", 16 16 }, 17 17 .zigimg = .{ 18 18 .url = "https://github.com/zigimg/zigimg/archive/f6998808f283f8d3c2ef34e8b4af423bc1786f32.tar.gz",
+5
src/gwidth.zig
··· 40 40 try testing.expectEqual(4, try gwidth("๐Ÿ‘ฉโ€๐Ÿš€", .wcwidth)); 41 41 } 42 42 43 + test "gwidth: emoji with VS16 selector" { 44 + try testing.expectEqual(2, try gwidth("\xE2\x9D\xA4\xEF\xB8\x8F", .unicode)); 45 + try testing.expectEqual(1, try gwidth("\xE2\x9D\xA4\xEF\xB8\x8F", .wcwidth)); 46 + } 47 + 43 48 test "gwidth: emoji with skin tone selector" { 44 49 try testing.expectEqual(2, try gwidth("๐Ÿ‘‹๐Ÿฟ", .unicode)); 45 50 try testing.expectEqual(4, try gwidth("๐Ÿ‘‹๐Ÿฟ", .wcwidth));