mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-02 13:49:10 +00:00
unicode: isolate properties, tables, and ziglyph into separate files
This makes it cleaner to add new sources of table generation and also avoids inadvertently depending on different modules (despite Zig's lazy analysis). This also fixes up terminal to only use our look up tables which avoids bringing ziglyph in for the terminal module.
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
pub const lut = @import("lut.zig");
|
||||
|
||||
const grapheme = @import("grapheme.zig");
|
||||
const props = @import("props.zig");
|
||||
pub const table = props.table;
|
||||
pub const Properties = props.Properties;
|
||||
pub const getProperties = props.get;
|
||||
pub const table = @import("props_table.zig").table;
|
||||
pub const Properties = @import("Properties.zig");
|
||||
pub const graphemeBreak = grapheme.graphemeBreak;
|
||||
pub const GraphemeBreakState = grapheme.BreakState;
|
||||
|
||||
test {
|
||||
_ = @import("props_ziglyph.zig");
|
||||
_ = @import("symbols.zig");
|
||||
@import("std").testing.refAllDecls(@This());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user