diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-10 21:51:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-10 21:51:57 +0300 |
| commit | 425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch) | |
| tree | e52c4383a6d69216cbe2a32638bf90841d7e2189 /vendor/libghostty-vt/src/font/library.zig | |
| parent | 90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff) | |
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/font/library.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/font/library.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/libghostty-vt/src/font/library.zig b/vendor/libghostty-vt/src/font/library.zig index 56946343..49c2e880 100644 --- a/vendor/libghostty-vt/src/font/library.zig +++ b/vendor/libghostty-vt/src/font/library.zig @@ -30,7 +30,7 @@ pub const FreetypeLibrary = struct { /// Mutex to be held any time the library is /// being used to create or destroy a face. - mutex: *std.Thread.Mutex, + mutex: *std.Io.Mutex, pub const InitError = freetype.Error || Allocator.Error; @@ -38,8 +38,8 @@ pub const FreetypeLibrary = struct { const lib = try freetype.Library.init(); errdefer lib.deinit(); - const mutex = try alloc.create(std.Thread.Mutex); - mutex.* = .{}; + const mutex = try alloc.create(std.Io.Mutex); + mutex.* = .init; return Library{ .lib = lib, .alloc = alloc, .mutex = mutex }; } |
