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/terminal/c/sgr.zig | |
| parent | 90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff) | |
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/terminal/c/sgr.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/terminal/c/sgr.zig | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/vendor/libghostty-vt/src/terminal/c/sgr.zig b/vendor/libghostty-vt/src/terminal/c/sgr.zig index b0ef23d0..bb8830cb 100644 --- a/vendor/libghostty-vt/src/terminal/c/sgr.zig +++ b/vendor/libghostty-vt/src/terminal/c/sgr.zig @@ -126,17 +126,6 @@ pub fn attribute_value( return &attr.value; } -pub fn wasm_alloc_attribute() callconv(lib.calling_conv) *sgr.Attribute.C { - const alloc = std.heap.wasm_allocator; - const ptr = alloc.create(sgr.Attribute.C) catch @panic("out of memory"); - return ptr; -} - -pub fn wasm_free_attribute(attr: *sgr.Attribute.C) callconv(lib.calling_conv) void { - const alloc = std.heap.wasm_allocator; - alloc.destroy(attr); -} - test "alloc" { var p: Parser = undefined; try testing.expectEqual(Result.success, new( |
