working on macos

This commit is contained in:
Mitchell Hashimoto
2025-03-12 10:13:31 -07:00
parent 43467690f3
commit 7e9be00924
8 changed files with 8 additions and 8 deletions

View File

@@ -195,7 +195,7 @@ pub fn translate(
} else false;
// Convert the utf16 to utf8
const len = try std.unicode.utf16leToUtf8(out, char[0..char_count]);
const len = try std.unicode.utf16LeToUtf8(out, char[0..char_count]);
return .{
.text = out[0..len],
.composing = composing,