update after refactor (string field config, etc)

This commit is contained in:
Jacob Sandlund
2025-08-12 09:43:12 -04:00
parent 563cfb94ba
commit f5a036a6a0
5 changed files with 12 additions and 10 deletions

View File

@@ -122,7 +122,7 @@ pub const GraphemeBoundaryClass = enum(u4) {
};
pub fn get(cp: u21) Properties {
const wcwidth = if (cp < 0x110000) uucode.get("wcwidth", cp) else 0;
const wcwidth = if (cp < 0x110000) uucode.get(.wcwidth, cp) else 0;
return .{
.width = @intCast(@min(2, @max(0, wcwidth))),