mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-27 09:31:39 +00:00
unicode: switch to uucode grapheme break to match unicode 16 spec
This commit is contained in:
@@ -4,6 +4,7 @@ const config = @import("config.zig");
|
||||
const config_x = @import("config.x.zig");
|
||||
const d = config.default;
|
||||
const wcwidth = config_x.wcwidth;
|
||||
const grapheme_break_no_control = config_x.grapheme_break_no_control;
|
||||
|
||||
const Allocator = std.mem.Allocator;
|
||||
|
||||
@@ -85,10 +86,15 @@ pub const tables = [_]config.Table{
|
||||
},
|
||||
.{
|
||||
.name = "buildtime",
|
||||
.extensions = &.{ wcwidth, width, is_symbol },
|
||||
.extensions = &.{
|
||||
wcwidth,
|
||||
grapheme_break_no_control,
|
||||
width,
|
||||
is_symbol,
|
||||
},
|
||||
.fields = &.{
|
||||
width.field("width"),
|
||||
d.field("grapheme_break"),
|
||||
grapheme_break_no_control.field("grapheme_break_no_control"),
|
||||
is_symbol.field("is_symbol"),
|
||||
d.field("is_emoji_vs_text"),
|
||||
d.field("is_emoji_vs_emoji"),
|
||||
|
||||
Reference in New Issue
Block a user