mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 14:00:29 +00:00
update after refactor (string field config, etc)
This commit is contained in:
@@ -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))),
|
||||
|
||||
Reference in New Issue
Block a user