macos: emoji keyboard works

This commit is contained in:
Mitchell Hashimoto
2023-02-19 12:28:17 -08:00
parent 7fa02cae95
commit 8889dd7de2
5 changed files with 71 additions and 1 deletions

View File

@@ -462,4 +462,10 @@ pub const CAPI = struct {
export fn ghostty_surface_mouse_scroll(win: *Window, x: f64, y: f64) void {
win.window.scrollCallback(x, y);
}
export fn ghostty_surface_ime_point(win: *Window, x: *f64, y: *f64) void {
const pos = win.imePoint();
x.* = pos.x;
y.* = pos.y;
}
};