mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-28 03:26:28 +00:00
hook up logging to wasm, example uses new zig-js package
This commit is contained in:
@@ -49,6 +49,8 @@ pub const Face = struct {
|
||||
const canvas = try doc.call(js.Object, "createElement", .{js.string("canvas")});
|
||||
errdefer canvas.deinit();
|
||||
|
||||
log.debug("face initialized: {s}", .{raw});
|
||||
|
||||
return Face{
|
||||
.alloc = alloc,
|
||||
.font_str = font_str,
|
||||
|
||||
Reference in New Issue
Block a user